Function at 0x443590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4a8
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x4b8]
push edi
xor edx, edx
lea ebx, [ebp + 0x2a9e62]
lea eax, [ecx + ecx*4]
mov dword [esp + 0x38], str.MMB_CLOSE
shl eax, 8
sub eax, ecx
mov ecx, 0x3c3
mov dword [esp + 0x3c], str.MMB_AUTO
mov dword [esp + 0x40], str.MMB_SKIP
lea eax, [eax + eax*4]
mov dword [esp + 0x44], str.MMB_JUMP
mov dword [esp + 0x48], str.MMB_RETURN
mov dword [esp + 0x4c], str.MMB_BACKLOG
lea esi, [ebp + eax*8]
xor eax, eax
mov dword [esp + 0x50], str.MMB_SYSTEM
mov dword [esp + 0x54], str.MMB_VOICE
lea edi, [esi + 0x9e94d3]
mov dword [esi + 0x9e94cb], edx
rep stosd dword es:[edi], eax
lea eax, [esi + 0x9ea3f1]
xor ecx, ecx
lea edi, [esi + 0x9ea3df]
mov dword [esp + 0x58], str.MMB_SAVE
mov dword [eax], ecx
push edi
push str.MODE_MENU_TYPE
push str.MAPMENU
mov dword [eax + 4], ecx
mov dword [esp + 0x68], str.MMB_LOAD
mov dword [esp + 0x6c], str.MMB_QSAVE
mov dword [esp + 0x70], str.MMB_QLOAD
mov dword [eax + 8], ecx
mov dword [esp + 0x74], str.MMB_MENU
mov dword [esp + 0x78], str.MMB_TITLE
mov dword [esp + 0x7c], str.MMB_EXIT
mov dword [eax + 0xc], ecx
mov word [edi], dx
mov word [esi + 0x9ea3e5], dx
mov word [esi + 0x9ea3e7], dx
mov word [esi + 0x9ea3e9], dx
mov word [esi + 0x9ea3eb], dx
mov word [esi + 0x9ea3ed], dx
mov word [esi + 0x9ea3ef], dx
mov edx, dword [ebp + 0x5a6f04]
mov ecx, ebx
mov dword [esi + 0x9ea405], edx
mov eax, dword [ebp + 0x5a6f04]
mov dword [esi + 0x9ea409], eax
mov dword [esp + 0x80], str.MMB_SCENE_BACK
mov dword [esp + 0x84], 0x200204
mov dword [esp + 0x88], 0x200102
mov dword [esp + 0x8c], 0x200101
mov dword [esp + 0x90], 0x200103
mov dword [esp + 0x94], 0x200104
mov dword [esp + 0x98], 0x200303
mov dword [esp + 0x9c], 0x200304
mov dword [esp + 0xa0], 0x200201
mov dword [esp + 0xa4], 0x200301
mov dword [esp + 0xa8], 0x200302
mov dword [esp + 0xac], 0x200202
mov dword [esp + 0xb0], 0x200203
mov dword [esp + 0xb4], 0x200305
mov dword [esp + 0xb8], 0x2002fe
mov dword [esp + 0xbc], 0x2002ff
mov dword [esp + 0xc0], 0x2002fb
call fcn.00407d60
lea eax, [esi + 0x9ea3ed]
mov ecx, ebx
push eax
push str.MMB_WIDTH
push str.MAPMENU
call fcn.00407d60
lea eax, [esi + 0x9ea3ef]
push eax
push str.MMB_HEIGHT
push str.MAPMENU
mov ecx, ebx
call fcn.00407d60
xor eax, eax
mov ax, word [edi]
dec eax
cmp eax, 3
ja case.default.0x4437b1
jmp dword [eax*4 + 0x443ba0]
xor eax, eax
mov word [esi + 0x9ea3e5], ax
mov word [esi + 0x9ea3e9], ax
mov word [esi + 0x9ea3e7], ax
mov cx, word [esi + 0x9ea3ef]
neg cx
mov word [esi + 0x9ea3eb], cx
jmp 0x443877
mov dx, word [ebp + 0x2aa7d2]
sub dx, word [esi + 0x9ea3ed]
xor eax, eax
mov word [esi + 0x9ea3e5], dx
mov word [esi + 0x9ea3e9], ax
mov cx, word [ebp + 0x2aa7d2]
mov word [esi + 0x9ea3e7], cx
jmp 0x443870
xor eax, eax
mov word [esi + 0x9ea3e5], ax
mov dx, word [ebp + 0x2aa7d4]
sub dx, word [esi + 0x9ea3ef]
mov word [esi + 0x9ea3e9], dx
mov word [esi + 0x9ea3e7], ax
mov ax, word [ebp + 0x2aa7d4]
jmp 0x443870
xor eax, eax
mov word [esi + 0x9ea3e5], ax
mov cx, word [ebp + 0x2aa7d4]
sub cx, word [esi + 0x9ea3ef]
mov word [esi + 0x9ea3e9], cx
mov dx, word [esi + 0x9ea3ed]
neg dx
mov word [esi + 0x9ea3e7], dx
mov word [esi + 0x9ea3eb], ax
movsx edx, word [esi + 0x9ea3e9]
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 0x9ea3ef]
mov cx, word [esi + 0x9ea3ed]
push eax
push ecx
movsx eax, word [esi + 0x9ea3e5]
push edx
push eax
lea eax, [esi + 0x9ea3f1]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [esp + 0x4c0]
push 0
push 3
push edi
push str.sys_mode_menu_base
mov ecx, ebp
call fcn.004197a0
test eax, eax
je case.default.0x4437b1
lea eax, [edi + 1]
push 0
push 3
push eax
push str.sys_mode_menu_button
mov ecx, ebp
call fcn.004197a0
test eax, eax
je case.default.0x4437b1
mov dword [esp + 0x18], 2
xor eax, eax
mov dword [esp + 0x14], eax
mov ebx, dword [esp + eax + 0x38]
lea ecx, [esp + 0xb8]
push 0x400
push ecx
push ebx
push str.MAPMENU
lea ecx, [ebp + 0x2a9e62]
call fcn.00407ce0
test eax, eax
je 0x443ac1
mov edi, str.MMB_SCENE_BACK
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x44394b
test cl, cl
je 0x443947
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x44394b
add eax, 2
add edi, 2
test cl, cl
jne 0x443923
xor eax, eax
jmp 0x443950
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x443962
mov eax, dword [ebp + 0xadf98f]
test eax, eax
je 0x443ac1
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xb8]
push eax
push 0x2c
push 0
push ecx
call fcn.00402990
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x443ac1
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + edx + 0x78]
cmp ebx, 0x200301
je 0x4439af
cmp ebx, 0x200302
je 0x4439af
cmp ebx, 0x200202
je 0x4439af
cmp ebx, 0x200203
jne 0x4439bd
mov al, byte [ebp + 0x5a7380]
test al, al
je 0x443ac1
lea eax, [esp + 0x10]
lea ecx, [esp + 0xb8]
push eax
push 0x2c
push 1
push ecx
call fcn.00402990
lea edx, [esp + 0x30]
lea eax, [esp + 0xc8]
push edx
push 0x2c
push 2
push eax
call fcn.00402990
lea ecx, [esp + 0x54]
lea edx, [esp + 0xd8]
push ecx
push 0x2c
push 3
push edx
call fcn.00402990
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xe8]
push eax
push 0x2c
push 4
push ecx
call fcn.00402990
add esp, 0x40
lea edx, [esp + 0x30]
lea eax, [esp + 0xb8]
push edx
push 0x2c
push 5
push eax
call fcn.00402990
lea ecx, [esp + 0x34]
lea edx, [esp + 0xc8]
push ecx
push 0x2c
push 6
push edx
call fcn.00402990
lea eax, [esp + 0x48]
lea ecx, [esp + 0xd8]
push eax
push 0x2c
push 1
push ecx
call fcn.00402990
mov edx, dword [esp + 0x58]
add esp, 0x30
mov ecx, ebp
lea edi, [edx + 0x100]
call fcn.004206a0
lea eax, [esi + 0x9e94d3]
push 0
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x4c8]
mov edx, dword [esp + 0x38]
push 1
push ebx
inc eax
push edi
push eax
mov eax, dword [esp + 0x34]
push 1
push 1
push 0x200
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004206e0
push 1
push 0
push 0
push 0
mov ecx, ebp
call fcn.00420a50
mov eax, dword [esp + 0x14]
add eax, 4
cmp eax, 0x40
mov dword [esp + 0x14], eax
jl 0x4438f2
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x4438ec
mov edx, dword [esp + 0x4c0]
mov ebx, 1
mov dword [esi + 0x9e94cb], ebx
mov ecx, dword [ebp + 0x5a6f04]
lea edi, [esi + 0x9e94d3]
mov dword [esi + 0x9ea409], ecx
push ebx
mov ecx, edi
mov dword [esi + 0x9ea401], edx
call fcn.00416750
movsx eax, word [esi + 0x9ea3eb]
push 0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push ecx
movsx ecx, word [esi + 0x9ea3e7]
fstp dword [esp]
mov dword [esp + 0x18], ecx
push ecx
fild dword [esp + 0x1c]
mov ecx, edi
fstp dword [esp]
call fcn.00416e30
push 0
push 0
push 0
mov ecx, edi
call fcn.00416e30
xor edx, edx
xor eax, eax
mov dx, word [esi + 0x9ea3ef]
mov ax, word [esi + 0x9ea3ed]
push edx
push eax
push 0
push 0
mov ecx, edi
call fcn.00417080
push 0
push 0
mov ecx, edi
call fcn.00417050
mov dword [esi + 0x9e94cf], ebx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x4a8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4a8
ret 8