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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
mov esi, dword [edi + 8]
test esi, esi
jne 0x4a2a6c
call fcn.00478f40
mov esi, eax
mov dword [edi + 8], esi
test esi, esi
je 0x4a2a57
mov edx, 0x9e
mov ecx, esi
call fcn.00479290
cmp dword [edi + 0x1a0], 0
jne 0x4a2a6c
mov eax, dword [edi]
test byte [eax + 0x40], 8
jne 0x4a2a6c
mov byte [edi + 0x17], 1
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov ebx, dword [ecx + 0x74]
lea eax, [ebx + 1]
mov dword [ecx + 0x74], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x4a2aa9
mov edx, dword [ecx + 0x78]
lea eax, [ebx*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0045a1b0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4a2ab7
mov dword [eax + ebx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ebx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x10], eax
jge 0x4a2b23
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
movzx edx, byte [ecx + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4a2af0
push 0
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x88
call fcn.004791e0
add esp, 0xc
jmp 0x4a2b23
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x88
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x4a2b99
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x20]
inc edx
mov eax, dword [eax + ebx*4]
add edx, eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4a2b5d
push 0
push edi
push edx
mov edx, 0x4c
mov ecx, esi
call fcn.004791e0
add esp, 0xc
jmp 0x4a2b8c
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
inc ebx
cmp ebx, dword [eax + 0x14]
jl 0x4a2b31
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0x20], 0
jne 0x4a3218
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4a2e36
mov al, byte [edi + 0x13]
test al, al
jne 0x4a2bbd
inc dword [edi + 0x4c]
mov ebx, dword [edi + 0x4c]
jmp 0x4a2bc9
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x20]
inc edx
mov eax, dword [eax]
add edx, eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4a2bf4
push 0
push ebx
push edx
mov edx, 0x1f
mov ecx, esi
call fcn.004791e0
add esp, 0xc
jmp 0x4a2c23
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x58], edx
jg 0x4a2c4c
push 0
push 0
push ebx
mov edx, 0x26
mov ecx, esi
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4a2c7f
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx]
jne 0x4a2cbf
cmp dword [ebp + 0x1c], 1
jne 0x4a2cbf
push ebx
push dword [esp + 0x14]
mov edx, 0x4f
mov ecx, esi
push dword [ebp + 0x18]
call fcn.00479220
mov eax, dword [esi]
add esp, 0xc
cmp byte [eax + 0x45], 0
jne 0x4a2cbc
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x24]
mov ecx, edi
push 0x36
push eax
push edx
mov edx, dword [esp + 0x20]
call fcn.004a53c0
mov eax, dword [esi + 0x18]
add esp, 0xc
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4a2cf8
push ebx
push 0
push dword [esp + 0x1c]
mov edx, 0x46
mov ecx, esi
call fcn.004791e0
add esp, 0xc
jmp 0x4a2d2b
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x46
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4a2d4f
push 0
push dword [esp + 0x14]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4a2d86
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
add edx, 0xfffffffe
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
jns 0x4a2da1
lea edx, [eax - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4a2db0
mov eax, 0x5a2a64
jmp 0x4a2db9
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x20]
test ecx, ecx
jns 0x4a2dd8
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4a2de7
mov eax, 0x5a2a64
jmp 0x4a2df0
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test ebx, ebx
je 0x4a3218
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x4a3218
xor ecx, ecx
lea eax, [edi + 0x7c]
lea esp, [esp]
cmp dword [eax + 0xc], ebx
je 0x4a2e2d
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4a2e10
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], ebx
inc byte [edi + 0x13]
jmp 0x4a3218
mov byte [eax + 6], 1
jmp 0x4a3218
mov ebx, dword [eax + 0x14]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x20], eax
cmp ebx, ecx
jg 0x4a2e53
add eax, ebx
sub ecx, ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], ecx
jmp 0x4a2e62
mov eax, dword [edi + 0x4c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [esp + 0x20], ecx
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4a2e71
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
jmp 0x4a2e7d
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4a2ea9
push dword [esp + 0x24]
mov ecx, esi
push edx
push dword [esp + 0x1c]
mov edx, 0x36
call fcn.004791e0
add esp, 0xc
jmp 0x4a2ee0
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x36
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.0047a030
test ebx, ebx
jle 0x4a2f7c
mov edx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x24], edx
lea esp, [esp]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
inc ecx
mov eax, dword [eax + edi*4]
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4a2f37
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x1e
mov ecx, esi
call fcn.004791e0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4a2f6e
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc edi
inc edx
mov dword [esp + 0x24], edx
cmp edi, ebx
jl 0x4a2f00
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx]
jne 0x4a30c0
cmp dword [ebp + 0x1c], 1
jne 0x4a30c0
mov eax, dword [esi + 0x20]
xor edx, edx
inc eax
mov dword [esp + 0x24], edx
add eax, ebx
mov dword [esp + 0x28], eax
test ebx, ebx
jle 0x4a3065
lea esp, [esp]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
inc edi
mov eax, dword [eax + edx*4]
add edi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp + 0x18]
inc edx
movsx eax, cx
add eax, edx
mov edx, dword [ebp + 8]
cmp cx, word [edx + 0x20]
mov ecx, dword [esi + 0x20]
cmove eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x4a300b
push dword [esp + 0x2c]
mov edx, 0x4e
mov ecx, esi
push dword [esp + 0x2c]
push edi
call fcn.004791e0
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4a303e
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x4e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x4a3054
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x10
inc edx
mov dword [esp + 0x24], edx
cmp edx, ebx
jl 0x4a2fb0
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4a3089
push 0
push dword [esp + 0x14]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4a30c0
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi]
call fcn.004a5490
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x58], edx
jg 0x4a30f5
push dword [esp + 0x18]
mov edx, 0x31
mov ecx, esi
push ebx
push dword [esp + 0x28]
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4a312c
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4a314a
cmp ebx, 0xfffffff6
je 0x4a319a
mov eax, dword [esp + 0x24]
mov edx, ebx
push eax
call fcn.00479ca0
add esp, 4
jmp 0x4a319a
test edx, edx
jns 0x4a3152
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea edx, [eax + ecx*4]
test ebx, ebx
jns 0x4a318a
cmp byte [edx + 1], 0
jne 0x4a318a
mov eax, dword [esp + 0x24]
cmp ebx, 0xfffffff2
jne 0x4a3176
mov dword [edx + 0x10], eax
mov byte [edx + 1], bl
jmp 0x4a319a
test eax, eax
je 0x4a319a
mov dword [edx + 0x10], eax
mov byte [edx + 1], bl
cmp ebx, 0xfffffff6
jne 0x4a319a
inc dword [eax + 0xc]
jmp 0x4a319a
mov eax, dword [esp + 0x24]
mov ecx, esi
push ebx
push eax
call fcn.00479ec0
add esp, 8
push 0
push dword [esp + 0x1c]
mov edx, 0x45
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.004797e0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x4a31fa
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x4a31fa
xor ecx, ecx
lea eax, [edi + 0x7c]
jmp 0x4a31d0
mov edi, dword [esp + 0x18]
cmp dword [eax + 0xc], edi
mov edi, dword [esp + 0x1c]
je 0x4a31f6
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4a31d0
mov ecx, dword [esp + 0x18]
movzx eax, dl
mov dword [edi + eax*4 + 0x1c], ecx
inc byte [edi + 0x13]
jmp 0x4a31fa
mov byte [eax + 6], 1
mov edx, dword [esp + 0x20]
mov ecx, edi
push ebx
call fcn.00490680
add esp, 4
cmp ebx, dword [edi + 0x3c]
jle 0x4a3218
mov eax, dword [esp + 0x20]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0x18]
test dl, dl
jne 0x4a334a
mov eax, dword [edi]
test dword [eax + 0x18], 0x1000000
jne 0x4a334a
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
jne 0x4a3347
cmp byte [edi + 0x14], cl
jne 0x4a3347
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x4a3285
mov ecx, edi
call fcn.00478f40
mov ebx, eax
mov dword [edi + 8], ebx
test ebx, ebx
je 0x4a326f
mov edx, 0x9e
mov ecx, ebx
call fcn.00479290
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
jne 0x4a3287
mov eax, dword [edi]
test byte [eax + 0x40], 8
jne 0x4a3285
mov byte [edi + 0x17], 1
test ecx, ecx
cmovne edi, ecx
mov byte [edi + 0x15], 1
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4a32b5
push 0
push 2
push 0x313
mov edx, 0x15
mov ecx, ebx
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4a32ec
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x313
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
je 0x4a3305
push 0
mov edx, 0xfffffffe
call fcn.00479ca0
add esp, 4
jmp 0x4a332b
test edx, edx
jns 0x4a330d
mov edx, dword [ebx + 0x20]
dec edx
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea edx, [eax + ecx*4]
je 0x4a332b
push 0xfffffffffffffffe
push 0
mov ecx, ebx
call fcn.00479ec0
add esp, 8
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
jne 0x4a33b7
mov eax, dword [ebx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + ecx*4 - 0x11], 4
jmp 0x4a33b7
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
jle 0x4a3364
test dl, dl
jne 0x4a3364
mov eax, dword [edi + 0x1a0]
test eax, eax
cmovne edi, eax
mov byte [edi + 0x15], 1
mov eax, dword [esi + 0x18]
movzx edx, byte [ecx + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4a3388
push 0
push ebx
push edx
mov edx, 0x87
mov ecx, esi
call fcn.004791e0
add esp, 0xc
jmp 0x4a33b7
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x87
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4a33d3
mov eax, dword [esp + 0x10]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4a3403
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x3d
mov ecx, esi
call fcn.004791e0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop ebx
mov esp, ebp
pop ebp
ret