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

Disassembly:
mov eax, 0xc550
call fcn.004e3f10
push ebx
mov ebx, dword [esp + 0xc55c]
lea eax, [esp + 0x44]
push ebp
mov ebp, dword [esp + 0xc55c]
push esi
push edi
push 0x561d5c
push ebx
push ebp
push str._s_s._s
push eax
call fcn.0043fb40
push 0xc043
lea eax, [esp + 0x532]
push 0
push eax
call fcn.004e4d50
lea eax, [esp + 0x70]
push eax
push 0x5cfaca
call fcn.004ae830
push 0xc0000010
lea eax, [esp + 0x3c]
push 0x5cfaca
push eax
call fcn.00401610
push 0x5cfaca
test eax, eax
mov dword [0x59f6c0], eax
mov edx, 0x55a59c
mov ecx, 0x55a598
push str.OPEN
cmovne ecx, edx
push ecx
push str._:__s__7.7s:__s._n
call fcn.00453cd0
add esp, 0x44
cmp dword [0x59f6c0], 0
jne 0x4a29b9
mov eax, dword [str.LEVL3]
lea edi, [esp + 0x165]
mov dword [esp + 0x160], eax
lea edx, [esp + 0x51a]
mov al, byte [0x563e90]
mov ecx, 0x9a
mov byte [esp + 0x164], al
mov esi, 0x5ce566
mov eax, dword [0x5cf404]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x50
mov dword [esp + 0x3d2], eax
mov esi, 0xaf496d
mov dword [esp + 0x3d6], 4
lea edi, [esp + 0x3da]
mov dword [esp + 0x3ce], 0x4000
mov byte [esp + 0x3cd], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x5d7696
mov ax, word [ecx]
lea edx, [edx + 2]
add ecx, 0x1a
mov word [edx - 2], ax
cmp ecx, 0x63f696
jl 0x4a2946
movzx eax, byte [0x69d2ee]
mov byte [esp + 0xc55c], al
movzx eax, byte [0x69d2ec]
mov byte [esp + 0xc55a], al
movzx eax, byte [0x69d2ed]
mov byte [esp + 0xc55b], al
lea eax, [esp + 0x14]
push eax
push 0xc3fd
lea eax, [esp + 0x168]
push eax
push dword [esp + 0x1c]
call fcn.00401c80
add esp, 0x10
cmp dword [esp + 0x14], 0xc3fd
je 0x4a29c6
push dword [esp + 0x10]
call fcn.004017b0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc550
ret
push 0x37
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004e4d50
mov esi, dword [0x5c4e34]
add esp, 0xc
xor eax, eax
test esi, esi
je 0x4a29f5
mov word [esi + 0x29], ax
inc eax
mov esi, dword [esi + 4]
test esi, esi
jne 0x4a29e3
mov esi, dword [0x5c4e34]
mov edi, dword [esp + 0x3d2]
test edi, edi
je 0x4a2cfe
test esi, esi
je 0x4a2cf5
movzx eax, byte [esi + 0x31]
mov byte [esp + 0x19], al
movzx eax, byte [esi + 0x32]
mov byte [esp + 0x18], al
movzx eax, byte [esi + 0x36]
mov byte [esp + 0x1a], al
mov eax, dword [esi + 0x4d]
mov dword [esp + 0x1b], eax
movzx eax, byte [esi + 0x31]
add eax, 0xfffffffe
cmp eax, 5
ja case.0x4a2a3b.3
jmp dword [eax*4 + 0x4a2d84]
movsx eax, word [esi + 0x2b]
mov dword [esp + 0x1f], eax
mov eax, dword [esi + 0x8a]
mov dword [esp + 0x1b], eax
jmp case.0x4a2a3b.3
mov ax, word [esi + 0x2b]
mov word [esp + 0x22], ax
movzx eax, byte [esi + 0x32]
add eax, 0xfffffff7
cmp eax, 0xa
ja case.0x4a2a3b.3
movzx eax, byte [eax + 0x4a2db0]
jmp dword [eax*4 + 0x4a2d9c]
movzx eax, byte [esi + 0x98]
mov byte [esp + 0x1f], al
movzx eax, byte [esi + 0x99]
mov byte [esp + 0x20], al
movzx eax, byte [esi + 0x9a]
mov byte [esp + 0x21], al
jmp case.0x4a2a3b.3
mov al, byte [esi + 0x9b]
mov byte [esp + 0x24], al
jmp case.0x4a2a3b.3
mov ax, word [esi + 0x51]
mov word [esp + 0x25], ax
mov al, byte [esi + 0x9c]
mov byte [esp + 0x27], al
jmp case.0x4a2a3b.3
mov al, byte [esi + 0x9f]
mov byte [esp + 0x27], al
jmp case.0x4a2a3b.3
movzx eax, byte [esi + 0x32]
sub eax, 2
je 0x4a2c7a
sub eax, 4
jne case.0x4a2a3b.3
movzx eax, byte [esi + 0x78]
mov byte [esp + 0x1f], al
movzx eax, byte [esi + 0x79]
mov byte [esp + 0x20], al
movzx eax, word [esi + 0xa8]
mov word [esp + 0x23], ax
movzx eax, byte [esi + 0x7a]
mov byte [esp + 0x21], al
movzx eax, byte [esi + 0x7b]
mov byte [esp + 0x22], al
movzx eax, word [esi + 0xb4]
mov word [esp + 0x39], ax
movzx eax, byte [esi + 0x80]
mov byte [esp + 0x3b], al
movzx eax, word [esi + 0xae]
mov word [esp + 0x3d], ax
movzx eax, byte [esi + 0x81]
mov byte [esp + 0x3c], al
movzx eax, word [esi + 0x82]
test ax, ax
je 0x4a2b6a
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x25], ax
movzx eax, word [esi + 0x84]
test ax, ax
je 0x4a2b88
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x27], ax
movzx eax, word [esi + 0x86]
test ax, ax
je 0x4a2ba6
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x29], ax
movzx eax, word [esi + 0x88]
test ax, ax
je 0x4a2bc4
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x2b], ax
movzx eax, word [esi + 0x8a]
test ax, ax
je 0x4a2be2
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x2d], ax
movzx eax, word [esi + 0x8c]
test ax, ax
je 0x4a2c00
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x2f], ax
movzx eax, word [esi + 0x8e]
test ax, ax
je 0x4a2c1e
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x31], ax
movzx eax, word [esi + 0x90]
test ax, ax
je 0x4a2c3c
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x33], ax
movzx eax, word [esi + 0x92]
test ax, ax
je 0x4a2c5a
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x35], ax
movzx eax, word [esi + 0x94]
test ax, ax
je case.0x4a2a3b.3
mov eax, dword [eax*4 + 0x5c4ea4]
mov ax, word [eax + 0x29]
inc ax
mov word [esp + 0x37], ax
jmp case.0x4a2a3b.3
movzx eax, byte [esi + 0x8c]
mov byte [esp + 0x1f], al
movzx eax, byte [esi + 0x84]
mov byte [esp + 0x20], al
movzx eax, byte [esi + 0x90]
mov byte [esp + 0x21], al
movzx eax, byte [esi + 0x8d]
mov byte [esp + 0x22], al
mov eax, dword [esi + 0x80]
jmp 0x4a2cba
movsx eax, word [esi + 0x67]
mov dword [esp + 0x1f], eax
movsx eax, word [esi + 0x69]
mov dword [esp + 0x23], eax
lea eax, [esp + 0x14]
push eax
push 0x37
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1c]
call fcn.00401c80
add esp, 0x10
cmp dword [esp + 0x14], 0x37
jne 0x4a29ad
push 0x37
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004e4d50
mov esi, dword [esi + 4]
add esp, 0xc
sub edi, 1
jne 0x4a2a04
call fcn.004bd3b0
push dword [esp + 0x10]
call fcn.004017b0
push 0x561ccc
push ebx
push ebp
lea eax, [esp + 0x60]
push str._s_s._s
push eax
call fcn.0043fb40
push 0x268
push dword [esp + 0xc588]
lea eax, [esp + 0x70]
push eax
call fcn.004014c0
add esp, 0x24
test eax, eax
jne 0x4a29b9
push 0x563e88
push ebx
push ebp
lea eax, [esp + 0x5c]
push str._s_s._s
push eax
call fcn.0043fb40
push 0
lea eax, [esp + 0x68]
push 0xb
push eax
call fcn.004c20b0
add esp, 0x20
test eax, eax
je 0x4a29b9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc550
ret