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

Disassembly:
sub esp, 0x2c
cmp dword [0x4e4968], 0
jne 0x441d11
call fcn.00441bf0
push 0x4ba930
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x58], 0
je 0x441d28
and dword [esp + 0x30], 0xfffffffe
push ebx
push ebp
push esi
push edi
or ebx, 0xffffffff
xor edi, edi
mov esi, 0x4ba96c
cmp dword [esi - 4], 0
lea ebp, [esi + 8]
je 0x441d81
test byte [esi], 1
je 0x441d81
mov eax, dword [esp + 0x44]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x441d81
mov ecx, dword [esp + 0x64]
cmp dword [ebp - 4], ecx
jne 0x441d81
mov eax, dword [esp + 0x40]
test al, 1
je 0x441d76
mov edx, dword [esi]
xor edx, eax
test dl, 0x22
je 0x441e1c
mov ebx, edi
jmp 0x441d81
mov ecx, dword [esi]
xor ecx, eax
test cl, 2
mov ebx, edi
je 0x441d92
add esi, 0x150
add edi, 1
cmp esi, 0x4e496c
jne 0x441d36
xor esi, esi
cmp dword [0x4ba968], esi
je 0x441db9
mov eax, 0x4ba968
add eax, 0x150
add esi, 1
cmp eax, 0x4e4968
je 0x442001
cmp dword [eax], 0
jne 0x441da1
imul esi, esi, 0x150
add esi, 0x4ba968
test ebx, ebx
jl 0x441f49
mov edi, ebx
imul edi, edi, 0x150
test byte [esp + 0x40], 0x20
mov ebp, dword [edi + 0x4baa80]
mov edx, dword [edi + 0x4baa84]
mov eax, dword [edi + 0x4baa90]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
je 0x441ee2
push 0
lea ecx, [edi + 0x4ba968]
push 0
push ecx
call fcn.0043f340
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
jmp 0x4420e5
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x441e34
mov edx, edi
imul edx, edx, 0x150
mov edx, dword [edx + 0x4baa80]
mov dword [ecx], edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x441e4c
mov edx, edi
imul edx, edx, 0x150
mov edx, dword [edx + 0x4baa84]
mov dword [ecx], edx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x441e64
mov edx, edi
imul edx, edx, 0x150
mov edx, dword [edx + 0x4baa90]
mov dword [ecx], edx
mov esi, edi
imul esi, esi, 0x150
add dword [esi + 0x4baa7c], 1
test al, 2
je 0x441eb9
mov eax, dword [esp + 0x58]
test eax, eax
je 0x441e87
mov ecx, dword [esi + 0x4baa94]
mov dword [eax], ecx
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x441e97
mov edx, dword [esi + 0x4baa98]
mov dword [eax], edx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x441ea7
mov ecx, dword [esi + 0x4baa9c]
mov dword [eax], ecx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x441ec9
mov edx, dword [esi + 0x4baaa0]
mov dword [eax], edx
jmp 0x441ec9
mov eax, dword [esp + 0x48]
test eax, eax
je 0x441ec9
mov ecx, dword [esi + 0x4baa78]
mov dword [eax], ecx
push 0x4ba930
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
lea eax, [esi + 0x4ba968]
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test byte [edi + 0x4ba96c], 0x20
je 0x441f0b
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x4baa78]
push edx
push ebp
push eax
call fcn.0043ff10
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
jmp 0x4420e5
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add ebp, 2
add ecx, 2
imul ebp, ecx
add ebp, ebp
add ebp, ebp
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [edi + 0x4baa78]
push ebp
mov ebx, eax
push edx
push ebx
mov dword [esp + 0x20], ebx
call fcn.0047eec0
mov ebp, dword [esp + 0x24]
add esp, 0xc
jmp 0x4420e5
push 0x104
call fcn.0047dcaa
mov ebp, dword [esp + 0x48]
push 0x104
mov edi, eax
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call fcn.0047f362
add esp, 0x28
push str..gra
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
push ebp
jne 0x441fa6
push 0x4b93a0
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [esp + 0x50]
add esp, 0x10
and ebx, 0xfffffffe
mov dword [esp + 0x40], ebx
jmp 0x441fc4
mov eax, dword [str.graph]
push eax
push 0x589910
push 0x497ae0
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [esp + 0x54]
add esp, 0x14
mov ecx, dword [str.archive.dat]
push ecx
push edi
call fcn.00431f60
push edi
mov ebp, eax
call fcn.0047dd2d
add esp, 0xc
test ebp, ebp
je 0x442001
push ebp
call fcn.00431a50
add esp, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x442016
push ebp
call fcn.00431aa0
add esp, 4
push 0x4ba930
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
push edi
push ebp
call fcn.004319d0
add esp, 8
test eax, eax
push ebp
jne 0x44203d
call fcn.00431aa0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x442001
call fcn.00431a60
push ebp
call fcn.00431aa0
add esp, 8
test bl, 0x20
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
je 0x442078
push 0
call fcn.0043ffc0
mov ebp, dword [esp + 0x30]
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x14], ebx
jmp 0x4420cb
test bl, 0x40
je 0x442094
push 0
call fcn.0043ffc0
mov ebx, eax
add esp, 0x18
and dword [esp + 0x40], 0xffffffbf
mov dword [esp + 0x14], ebx
jmp 0x4420bb
test ebx, 0x800
je 0x4420ab
push 2
call fcn.0043ffc0
mov ebx, eax
mov dword [esp + 0x2c], ebx
jmp 0x4420b8
push 1
call fcn.0043ffc0
mov ebx, eax
mov dword [esp + 0x2c], eax
add esp, 0x18
mov ebp, dword [esp + 0x18]
sub ebp, 2
sub dword [esp + 0x10], 2
mov dword [esp + 0x18], ebp
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x442001
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x68], 0
je 0x4422d1
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4422d1
push 0x104
call fcn.0047dcaa
add esp, 4
test eax, eax
mov dword [esp + 0x30], eax
je 0x4422d1
cmp dword [esp + 0x68], 0
jle 0x4422c0
mov edx, dword [esp + 0x68]
add edi, 0x58
mov dword [esp + 0x2c], edx
jmp 0x442130
mov ecx, dword [str.graph]
mov ebp, dword [esp + 0x30]
lea eax, [edi - 0x37]
push eax
push ecx
push 0x589910
push 0x497ae0
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [str.archive.dat]
push edx
push ebp
call fcn.00431f60
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x4422b2
push ebp
call fcn.00431a50
add esp, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4422a5
push ebx
push ebp
call fcn.004319d0
add esp, 8
test eax, eax
push ebp
je 0x44228d
call fcn.00431a60
push ebp
call fcn.00431aa0
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push 0
call fcn.0043ffc0
add esp, 0x20
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebp, ebp
je 0x4422ae
test byte [esp + 0x40], 0x20
mov eax, dword [edi]
mov edx, eax
je 0x44222a
test eax, eax
jne 0x4421eb
mov edx, dword [esp + 0x68]
mov eax, dword [edi - 4]
test eax, eax
mov ecx, dword [esp + 0x28]
jne 0x4421f8
mov eax, ecx
mov ebx, dword [edi - 0x10]
push ebx
push edx
mov edx, dword [edi + 4]
push eax
lea eax, [ecx*4]
mov ecx, dword [edi + 8]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
mov edx, dword [edi - 8]
push ebp
lea ecx, [eax*4]
mov eax, dword [edi - 0xc]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
jmp 0x442275
test eax, eax
jne 0x442232
mov edx, dword [esp + 0x68]
mov eax, dword [edi - 4]
test eax, eax
mov ecx, dword [esp + 0x28]
jne 0x44223f
mov eax, ecx
mov ebx, dword [edi - 0x10]
push ebx
push edx
push eax
mov eax, dword [edi + 8]
lea edx, [ecx*4]
mov ecx, dword [edi + 4]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [edi - 8]
push ebp
lea eax, [edx*4 + 8]
mov edx, dword [edi - 0xc]
push eax
mov eax, dword [esp + 0x34]
add ecx, 1
push ecx
add edx, 1
push edx
push eax
call fcn.00440ec0
add esp, 0x2c
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4422ae
call fcn.00431aa0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4422ae
push ebp
call fcn.00431aa0
add esp, 4
mov ebx, dword [esp + 0x14]
add edi, 0x70
sub dword [esp + 0x2c], 1
jne 0x442130
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0047dd2d
mov ebp, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x64]
sub eax, 0
mov edi, dword [esp + 0x10]
je 0x442353
sub eax, 1
push ebx
je 0x442337
sub eax, 1
je 0x442316
test byte [esp + 0x44], 0x20
mov edx, dword [esp + 0x68]
je 0x442302
push edi
push ebp
push ebx
push edx
call fcn.004409e0
add esp, 0x14
jmp 0x442353
lea eax, [edi + 2]
push eax
lea ecx, [ebp + 2]
push ecx
push ebx
push edx
call fcn.004409e0
add esp, 0x14
jmp 0x442353
test byte [esp + 0x44], 0x20
je 0x442327
push edi
push ebp
push ebx
call fcn.00440ac0
jmp 0x442350
lea eax, [edi + 2]
push eax
lea ecx, [ebp + 2]
push ecx
push ebx
call fcn.00440ac0
jmp 0x442350
test byte [esp + 0x44], 0x20
je 0x442342
push edi
push ebp
jmp 0x44234a
lea edx, [edi + 2]
push edx
lea eax, [ebp + 2]
push eax
push ebx
call fcn.00440a50
add esp, 0x10
mov ecx, dword [esp + 0x44]
push ecx
lea edx, [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov dword [esi + 8], ecx
mov ecx, eax
and ecx, 0x20
mov dword [esi + 4], eax
mov dword [esi + 0x110], ebx
mov dword [esp + 0x68], ecx
mov dword [esi + 0x118], ebp
mov dword [esi + 0x11c], edi
je 0x442395
mov dword [esi + 0x120], ebp
jmp 0x4423a1
lea edx, [ebp + 2]
mov dword [esi + 0x120], edx
add edi, 2
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x128], ecx
xor ecx, ecx
mov edx, eax
and edx, 2
mov dword [esi + 0x124], edi
mov dword [esi + 0x114], ecx
mov dword [esi + 0x140], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edx
je 0x442584
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
push ebp
push eax
call fcn.00458cf0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x134], eax
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x34]
imul eax, dword [esp + 0x38]
add esp, 0x14
mov dword [esi + 0x12c], eax
lea eax, [eax*4 + 4]
push eax
push 0x40
call edi
mov ecx, dword [esi + 0x12c]
add ecx, 1
shl ecx, 4
push ecx
push 0x40
mov dword [esi + 0x138], eax
call edi
cmp dword [esp + 0x68], 0
mov edi, eax
mov dword [esi + 0x13c], edi
je 0x44244e
mov edx, dword [esi + 0x130]
mov dword [esp + 0x1c], edx
jmp 0x44245b
mov eax, dword [esi + 0x130]
sub eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x124]
xor ebp, ebp
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebp
jle 0x4425a2
mov ecx, dword [esp + 0x20]
lea ecx, [ecx]
mov edx, dword [esi + 0x120]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x30], ebx
jle 0x442552
jmp 0x4424a0
mov eax, dword [esi + 0x130]
push 1
push eax
call fcn.0042beb0
mov ecx, dword [esi + 0x138]
mov dword [ecx + ebp*4], eax
mov edx, dword [esi + 0x138]
add esp, 8
cmp dword [edx + ebp*4], 0
je 0x442579
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [edi], ebx
mov dword [edi + 4], eax
mov eax, dword [esi + 0x130]
cmp eax, ecx
jl 0x4424e3
mov eax, ecx
mov ecx, dword [esp + 0x18]
add eax, ebx
mov dword [edi + 8], eax
mov eax, dword [esi + 0x130]
cmp eax, ecx
jl 0x4424f8
mov eax, ecx
mov ecx, dword [esp + 0x10]
add eax, ecx
mov dword [edi + 0xc], eax
mov edx, dword [esi + 0x120]
mov ecx, dword [esi + 0x138]
add edx, edx
add edx, edx
push edx
mov edx, dword [ecx + ebp*4]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x110]
push edi
push edx
push eax
call fcn.0042c300
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
sub dword [esp + 0x7c], ecx
add ebx, ecx
mov ecx, dword [esp + 0x34]
add eax, 1
add esp, 0x14
add ebp, 1
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x4424a0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x10], edx
sub dword [esp + 0x18], edx
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jl 0x442480
mov ebx, dword [esp + 0x14]
jmp 0x4425a2
push esi
call fcn.0043f9e0
jmp 0x441ffe
mov dword [esi + 0x12c], ecx
mov dword [esi + 0x134], ecx
mov dword [esi + 0x130], ecx
mov dword [esi + 0x138], ecx
mov dword [esi + 0x13c], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
mov dword [esi], 1
je 0x4425b8
mov ecx, dword [esi + 0x118]
mov dword [eax], ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4425c8
mov edx, dword [esi + 0x11c]
mov dword [eax], edx
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4425d8
mov ecx, dword [esi + 0x128]
mov dword [eax], ecx
cmp dword [esp + 0x28], 0
je 0x442634
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4425ef
mov edx, dword [esi + 0x12c]
mov dword [eax], edx
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4425ff
mov ecx, dword [esi + 0x130]
mov dword [eax], ecx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x44260f
mov edx, dword [esi + 0x134]
mov dword [eax], edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x44263e
mov ecx, dword [esi + 0x138]
push 0x4ba930
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x48]
test eax, eax
je 0x44263e
mov dword [eax], ebx
push 0x4ba930
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret