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

Disassembly:
and eax, 0
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [0x5976a0]
push eax
call 0x5d41a1
cmp eax, esi
je 0x4d0208
mov ecx, esi
call 0x5d70c9
lea eax, [esp + 0x14]
lea ecx, [esp + 0xe4]
push eax
push ecx
mov ecx, esi
call fcn.004cff60
lea edx, [esp + 0xb0]
or ebx, 0xffffffff
push edx
mov ecx, esi
mov ebp, eax
mov dword [esi + 0xe8], ebx
call fcn.004cfe60
mov edi, dword [0x59763c]
test ebp, ebp
jne 0x4d0651
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov bl, 1
call fcn.004cf860
call dword [0x59776c]
test eax, eax
jne 0x4d04bb
mov edx, dword [esi + 0x1c]
push edx
call dword [0x597770]
push eax
call 0x5d41a1
push esi
lea ecx, [esp + 0x60]
call 0x5da86b
mov ecx, dword [esp + 0x20]
push 1
mov edx, dword [esp + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0xec], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x70]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.004cfa20
call 0x5d957e
push 0
push 0
lea edx, [esp + 0x48]
push 0
push edx
call edi
call dword [0x59776c]
push eax
call 0x5d41a1
cmp eax, esi
jne 0x4d0496
mov eax, dword [esp + 0x44]
sub eax, 0x100
je 0x4d03a9
sub eax, 0x100
je 0x4d0307
sub eax, 2
je 0x4d03e1
jmp 0x4d03b0
mov eax, dword [esp + 0x4c]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], edx
call fcn.004cff60
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x4d0372
cmp dword [esp + 0x18], eax
jne 0x4d0372
test bl, bl
jne 0x4d03bb
mov ecx, dword [esp + 0x20]
push 1
sub esp, 0x10
mov edx, esp
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.004cfa20
mov bl, 1
jmp 0x4d03bb
test bl, bl
je 0x4d03bb
mov edx, dword [esp + 0x20]
push 0
sub esp, 0x10
mov ecx, esp
push eax
lea eax, [esp + 0x74]
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
push eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
mov ecx, esi
call fcn.004cfa20
xor bl, bl
jmp 0x4d03bb
cmp dword [esp + 0x48], 0x1b
jne 0x4d03bb
lea ecx, [esp + 0x40]
push ecx
call dword [0x5976c4]
push 0
push 0
lea edx, [esp + 0x48]
push 0
push edx
call edi
call dword [0x59776c]
push eax
call 0x5d41a1
cmp eax, esi
je 0x4d02e3
jmp 0x4d0496
test bl, bl
je 0x4d041a
mov ecx, dword [esp + 0x20]
push 0
mov edx, dword [esp + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x70]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.004cfa20
xor bl, bl
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
movsx edx, ax
shr eax, 0x10
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
movsx eax, ax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.004cff60
test eax, eax
jne 0x4d0496
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xec]
cmp eax, ecx
je 0x4d0476
push eax
mov ecx, esi
call fcn.004d1030
push 0xffffffffffffffff
mov ecx, esi
call fcn.004d3150
test eax, eax
je 0x4d0496
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x4c3
push eax
jmp 0x4d0490
push 0xffffffffffffffff
mov ecx, esi
call fcn.004d3150
test eax, eax
invalid
je 0x4d0496
mov ecx, dword [eax + 0x1c]
push 0
push 1
push 0x4c3
push ecx
call dword [0x5977c4]
call dword [0x597790]
push 0
call 0x5d9587
lea ecx, [esp + 0x5c]
mov dword [esp + 0xd8], 0xffffffff
call 0x5da8dd
test bl, bl
je 0x4d04cc
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x20]
push 0
push edx
push eax
call dword [0x5977b0]
cmp ebp, 3
mov dword [esi + 0xdc], 0xffffffff
jne 0x4d0d51
mov byte [esi + 0x9c], 1
mov bl, 1
call dword [0x59776c]
test eax, eax
jne 0x4d0fe7
mov eax, dword [esi + 0x1c]
push eax
call dword [0x597770]
push eax
call 0x5d41a1
push esi
lea ecx, [esp + 0x90]
call 0x5da86b
mov ecx, dword [esp + 0x90]
lea edi, [esi + 0x8c]
push 0x201
push ebp
mov ebp, dword [0x597644]
push edi
push ecx
mov dword [esp + 0xe8], 2
call ebp
mov edx, dword [esi + 0x1c]
push 0
push 0x12c
push 2
push edx
call dword [0x5976f8]
call 0x5d957e
push 0
push 0
lea eax, [esp + 0x78]
push 0
push eax
call dword [0x59763c]
call dword [0x59776c]
push eax
call 0x5d41a1
cmp eax, esi
jne 0x4d0cef
mov eax, dword [esp + 0x74]
cmp eax, 0x200
ja 0x4d0c30
je 0x4d0bd7
sub eax, 0x100
je 0x4d0bce
sub eax, 0x13
jne 0x4d0c37
cmp dword [esp + 0x78], 2
jne 0x4d0c42
test bl, bl
je 0x4d0c42
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push eax
push ecx
call dword [0x597698]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
call dword [0x59778c]
test eax, eax
je 0x4d0c2a
lea ecx, [esp + 0x5c]
mov byte [esi + 0x7b], 1
push ecx
mov ecx, esi
call fcn.004d1010
mov edx, dword [esi + 0xec]
dec eax
push eax
push edx
mov ecx, esi
call fcn.004cf920
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004cfe60
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jle 0x4d0cef
mov edx, dword [esi + 0xd8]
mov eax, dword [esi + 0x1c]
inc edx
push 1
mov dword [esi + 0xd8], edx
lea edx, [esp + 0x24]
push edx
push eax
call dword [0x5977b0]
jmp 0x4d0c42
cmp ebp, 1
mov dword [esi + 0xd4], ebx
jne 0x4d04cc
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0xec]
lea ecx, [esp + 0x5c]
mov dword [esi + 0xe4], ebx
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1f], 0
call fcn.004cf920
call dword [0x597620]
mov ebx, dword [0x59776c]
mov edi, eax
call ebx
test eax, eax
jne 0x4d0ba5
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x597770]
push eax
call 0x5d41a1
push esi
lea ecx, [esp + 0x90]
call 0x5da86b
mov edx, dword [esp + 0x14]
adc al, 0x55
push edx
mov ecx, esi
mov dword [esp + 0xe0], ebp
call fcn.004d19f0
call 0x5d957e
push 0
push 0
lea eax, [esp + 0x48]
push 0
push eax
call dword [0x59763c]
call ebx
push eax
call 0x5d41a1
cmp eax, esi
jne 0x4d0b6b
mov ebp, dword [0x5977a4]
mov eax, dword [esp + 0x44]
sub eax, 0x20
je 0x4d089f
sub eax, 0x1e0
je 0x4d072a
sub eax, 2
je 0x4d08c8
lea ecx, [esp + 0x40]
push ecx
call dword [0x5976c4]
jmp 0x4d08a2
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
movsx edx, ax
shr eax, 0x10
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
movsx eax, ax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.004cff60
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4d0819
cmp eax, 1
jne 0x4d078e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x90]
push ecx
push edx
mov ecx, esi
call fcn.004d2300
mov eax, dword [esi + 0xfc]
push eax
call ebp
mov edi, dword [esi + 0xfc]
jmp 0x4d08a2
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004d1010
mov edx, dword [esi + 0xec]
dec eax
push eax
push edx
mov ecx, esi
call fcn.004cf920
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x4d07ef
cmp eax, dword [esp + 0xbc]
jge 0x4d07ef
mov ecx, esi
call fcn.004d1010
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, esi
call fcn.004d2300
mov edx, dword [esi + 0xfc]
push edx
call ebp
mov edi, dword [esi + 0xfc]
jmp 0x4d08a2
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, esi
call fcn.004d2300
mov edx, dword [esi + 0x100]
push edx
call ebp
mov edi, dword [esi + 0x100]
jmp 0x4d08a2
cmp eax, 1
jne 0x4d0866
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov cl, byte [esp + 0x12]
jne 0x4d084a
test cl, cl
jne 0x4d08a2
push 1
push eax
mov ecx, esi
call fcn.004d19f0
mov byte [esp + 0x12], 1
mov byte [esi + 0xe0], 1
jmp 0x4d08a2
test cl, cl
je 0x4d08a2
push 0
push eax
mov ecx, esi
call fcn.004d19f0
mov byte [esp + 0x12], 0
mov byte [esi + 0xe0], 0
jmp 0x4d08a2
test byte [esi + 0xb8], 0x80
je 0x4d08a2
mov eax, dword [esp + 0x14]
push 1
push eax
mov ecx, esi
call fcn.004d19f0
mov ecx, dword [esi + 0xfc]
mov byte [esp + 0x12], 1
push ecx
mov byte [esp + 0x17], 1
call ebp
mov edi, dword [esi + 0xfc]
mov byte [esi + 0xe0], 1
jmp 0x4d08a2
push edi
call ebp
push 0
push 0
lea edx, [esp + 0x48]
push 0
push edx
call dword [0x59763c]
call ebx
push eax
call 0x5d41a1
cmp eax, esi
je 0x4d06fd
jmp 0x4d0b6b
mov al, byte [esp + 0x12]
test al, al
je 0x4d08e0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004d19f0
mov byte [esp + 0x12], 0
mov eax, dword [esp + 0x4c]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], edx
call fcn.004cff60
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x4d0a1c
cmp eax, 1
jne 0x4d0b6b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x4d0b6b
mov eax, dword [esi + 0xb0]
test eax, eax
jle 0x4d0953
mov eax, dword [esi + 0xac]
cmp ecx, eax
je 0x4d0953
test eax, eax
jl 0x4d0953
push eax
push 0
push 0
mov ecx, esi
call fcn.004cf1e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xb8]
mov edi, dword [0x597750]
mov ebp, 0x200
test ebp, eax
je 0x4d09a6
mov eax, dword [esi + 0xac]
test eax, eax
cmp eax, 1
jne 0x4d0abf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x4d0b6b
mov ecx, dword [esi + 0xec]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x28], ecx
test eax, eax
jne 0x4d0a54
mov edx, dword [esi + 0x1c]
push edx
call dword [0x5977b4]
push eax
call 0x5d41a1
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push 4
push 0x40e
push edx
call dword [0x5977c4]
test eax, eax
je 0x4d0b6b
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xc0]
push 1
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x18]
push ecx
mov edx, dword [eax + 0x18]
lea edi, [eax + 0x14]
mov ebp, dword [edx + ecx*4]
mov ecx, edi
call 0x5d1f93
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x4d0aaf
dec eax
mov dword [esp + 0x18], eax
push 1
push ebp
push eax
mov ecx, edi
call 0x5d1f01
jmp 0x4d0b6b
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
call fcn.004d1010
mov ecx, dword [esi + 0xec]
dec eax
push eax
push ecx
mov ecx, esi
call fcn.004cf920
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xac]
cmp eax, ecx
jle 0x4d0b6b
cmp eax, dword [esp + 0xbc]
jge 0x4d0b6b
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0xec]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
test eax, eax
mov dword [esp + 0x28], edx
jne 0x4d0b19
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x5977b4]
push eax
call 0x5d41a1
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x20]
push edx
push 4
push 0x40e
push eax
call dword [0x5977c4]
test eax, eax
je 0x4d0b6b
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xc0]
push 1
mov eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0x18]
push ecx
mov edx, dword [eax + 0x18]
push eax
sbb byte [ebp + 0x2c8b1478], cl
mov cl, byte [ebx + 0x1434e8cf]
adc byte [eax], al
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, edi
call 0x5d1eda
cmp dword [esp + 0x78], 0x1b
je 0x4d0c37
jmp 0x4d0c42
mov eax, dword [esp + 0x7c]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
push ecx
push edi
call dword [0x59778c]
test eax, eax
je 0x4d0c11
test bl, bl
jne 0x4d0c42
mov ecx, dword [esp + 0x90]
push 0x201
push 3
push edi
push ecx
call ebp
mov bl, 1
mov byte [esi + 0x79], bl
mov byte [esi + 0x7b], bl
jmp 0x4d0c42
cmp bl, 1
jne 0x4d0c42
mov edx, dword [esp + 0x90]
push 1
push 3
push edi
push edx
call ebp
xor bl, bl
mov byte [esi + 0x79], bl
mov byte [esi + 0x7b], 0
jmp 0x4d0c42
cmp eax, 0x202
je 0x4d0c6c
lea eax, [esp + 0x70]
push eax
call dword [0x5976c4]
push 0
push 0
lea ecx, [esp + 0x78]
push 0
push ecx
call dword [0x59763c]
call dword [0x59776c]
push eax
call 0x5d41a1
cmp eax, esi
je 0x4d0578
jmp 0x4d0cef
test bl, bl
je 0x4d0c7f
mov edx, dword [esp + 0x90]
push 1
push 3
push edi
push edx
call ebp
mov eax, dword [esp + 0x7c]
mov byte [esi + 0x79], 0
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
push ecx
push edi
call dword [0x59778c]
test eax, eax
je 0x4d0cef
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
call fcn.004d1010
mov ecx, dword [esi + 0xec]
dec eax
push eax
push ecx
mov ecx, esi
call fcn.004cf920
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.004cfe60
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x4d0cef
mov ebx, dword [esi + 0xd8]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x20]
push 1
inc ebx
push ecx
push edx
mov dword [esi + 0xd8], ebx
call dword [0x5977b0]
mov eax, dword [esi + 0x1c]
push 2
push eax
call dword [0x5976dc]
call dword [0x597790]
push 0
call 0x5d9587
lea ecx, [esp + 0xa0]
mov byte [esi + 0x9c], 0
push ecx
mov ecx, esi
mov byte [esi + 0x7b], 0
mov byte [esi + 0x79], 0
call fcn.004cfe60
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xa0]
push 1
push edx
push eax
call dword [0x5977b0]
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x8c]
jmp 0x4d0fe2
cmp ebp, 2
jne 0x4d0fe7
mov byte [esi + 0x9c], 1
mov bl, 1
call dword [0x59776c]
test eax, eax
jne 0x4d0fe7
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x597770]
push eax
call 0x5d41a1
push esi
lea ecx, [esp + 0x74]
call 0x5da86b
mov edx, dword [esp + 0x74]
mov ebp, dword [0x597644]
lea edi, [esi + 0x7c]
push 0x200
push 3
push edi
push edx
mov dword [esp + 0xe8], 3
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0x12c
push 2
push eax
call dword [0x5976f8]
call 0x5d957e
push 0
push 0
lea ecx, [esp + 0x48]
push 0
push ecx
call dword [0x59763c]
call dword [0x59776c]
push eax
call 0x5d41a1
cmp eax, esi
jne 0x4d0f88
mov eax, dword [esp + 0x44]
cmp eax, 0x200
ja 0x4d0ef3
je 0x4d0ea0
sub eax, 0x100
je 0x4d0e97
sub eax, 0x13
jne 0x4d0efa
cmp dword [esp + 0x48], 2
jne 0x4d0f05
test bl, bl
je 0x4d0f05
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push ecx
push edx
call dword [0x597698]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
call dword [0x59778c]
test eax, eax
je 0x4d0eed
mov eax, dword [esi + 0xd8]
mov byte [esi + 0x7a], 1
test eax, eax
jle 0x4d0f88
lea edx, [esp + 0x30]
dec eax
push edx
mov ecx, esi
mov dword [esi + 0xd8], eax
call fcn.004cfe60
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x30]
push 1
push eax
push ecx
call dword [0x5977b0]
jmp 0x4d0f05
cmp dword [esp + 0x48], 0x1b
je 0x4d0efa
jmp 0x4d0f05
mov eax, dword [esp + 0x4c]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
push ecx
push edi
call dword [0x59778c]
test eax, eax
je 0x4d0ed7
test bl, bl
jne 0x4d0f05
mov edx, dword [esp + 0x74]
push 0x200
push 3
push edi
push edx
call ebp
mov bl, 1
mov byte [esi + 0x78], bl
mov byte [esi + 0x7a], bl
jmp 0x4d0f05
cmp bl, 1
jne 0x4d0f05
mov eax, dword [esp + 0x74]
push 0
push 3
push edi
push eax
call ebp
xor bl, bl
mov byte [esi + 0x78], bl
mov byte [esi + 0x7a], 0
jmp 0x4d0f05
cmp eax, 0x202
je 0x4d0f2c
lea ecx, [esp + 0x40]
push ecx
call dword [0x5976c4]
push 0
push 0
lea edx, [esp + 0x48]
push 0
push edx
call dword [0x59763c]
call dword [0x59776c]
push eax
call 0x5d41a1
cmp eax, esi
je 0x4d0deb
jmp 0x4d0f88
test bl, bl
je 0x4d0f3c
mov eax, dword [esp + 0x74]
push 0
push 3
push edi
push eax
call ebp
mov eax, dword [esp + 0x4c]
mov byte [esi + 0x78], 0
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
push ecx
push edi
call dword [0x59778c]
test eax, eax
je 0x4d0f88
mov eax, dword [esi + 0xd8]
test eax, eax
jle 0x4d0f88
lea ecx, [esp + 0x5c]
dec eax
push ecx
mov ecx, esi
mov dword [esi + 0xd8], eax
call fcn.004cfe60
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x5c]
push 1
push edx
push eax
call dword [0x5977b0]
mov ecx, dword [esi + 0x1c]
push 2
push ecx
call dword [0x5976dc]
call dword [0x597790]
push 0
call 0x5d9587
lea edx, [esp + 0xc0]
mov ecx, esi
push edx
mov byte [esi + 0x9c], 0
mov byte [esi + 0x7a], 0
mov byte [esi + 0x78], 0
call fcn.004cfe60
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc0]
push 1
push eax
push ecx
call dword [0x5977b0]
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x70]
call 0x5da8dd