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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov edi, ecx
push 4
push eax
mov dword [esp + 0x78], edi
call fcn.0045e3d0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebp + 8]
push edx
lea ecx, [edi + 0x58]
call fcn.0046bd90
test eax, eax
je 0x474315
lea eax, [esp + 0xc]
push 4
push eax
call fcn.0045e3d0
mov esi, dword [esp + 0x1c]
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x473eee
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x10094d00
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x473f59
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x24]
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x473f31
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
mov ecx, dword [esi]
cmp ecx, ebx
mov dword [esp + 0xc], ecx
je 0x473f47
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 4]
call ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x473fc8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x473fc4
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x473f69
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push 0x10094508
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x4742d4
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x24]
push eax
call edx
push eax
lea ecx, [esp + 0x10]
call fcn.00499700
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x473fb4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x473fc4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
jne 0x474032
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x30]
push edx
call eax
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x473ff9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
mov ecx, dword [esi]
cmp ecx, ebx
mov dword [esp + 0xc], ecx
je 0x47400f
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 4]
call ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x474027
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x473fd3
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x474114
mov eax, dword [ebp + 0x18]
sub eax, 2
je 0x47409f
sub eax, 4
je 0x474089
sub eax, 2
je 0x474067
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ecx], ebx
mov dword [edx], 0xc000000d
jmp 0x4740b3
cmp dword [ebp + 0x14], 0x40
jae 0x47407d
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [ecx], 0xc0000004
jmp 0x4740b3
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edx], ebx
mov dword [eax], ebx
jmp 0x4740b3
cmp dword [ebp + 0x14], 0x30
jae 0x474108
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ecx], ebx
mov dword [edx], 0xc0000004
jmp 0x4740b3
cmp dword [ebp + 0x14], 8
jae 0x4740d7
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edx], ebx
mov dword [eax], 0xc0000004
lea ecx, [esp + 0x10]
call fcn.004c4020
lea ecx, [esp + 0xc]
call fcn.004c4020
lea ecx, [esp + 0x14]
call fcn.004c4020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
shr ecx, 1
push ecx
add eax, 4
push eax
lea ecx, [esp + 0x84]
add esi, 0x68
call fcn.00498630
mov ecx, eax
call fcn.00498c20
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [ecx], ebx
jmp 0x4740b3
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x28]
push eax
call edx
push 0x100891f8
lea ecx, [esp + 0x2c]
call fcn.004989e0
mov esi, dword [0x100a5870]
push 0x4021
push 3
lea ecx, [esp + 0x84]
add esi, 0x15c
call fcn.004985d0
mov ecx, eax
call fcn.00498c20
push eax
push ebx
push 0x40
lea ecx, [esp + 0x3c]
call fcn.00498c20
push eax
push ebx
lea ecx, [esp + 0xbc]
call fcn.00498600
mov ecx, eax
call fcn.00498c20
mov edx, dword [esi]
push eax
push 0x100002
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
test eax, eax
jne 0x474293
cmp dword [edi + 4], 1
jne 0x474288
mov eax, dword [ebp + 0x18]
sub eax, 1
je 0x474213
sub eax, 1
je 0x4741c1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 1
jmp 0x474271
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
shr edx, 1
push edx
add eax, 4
push eax
lea ecx, [esp + 0x84]
add esi, 0x68
call fcn.00498630
mov ecx, eax
call fcn.00498c20
push eax
mov eax, dword [esi]
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ecx], ebx
lea ecx, [esp + 0x28]
mov dword [edx], ebx
call fcn.00498940
lea ecx, [esp + 0x18]
call fcn.00466140
jmp 0x4740b3
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
shr eax, 1
push eax
lea ecx, [edi + 0x12]
push ecx
lea ecx, [esp + 0x90]
add esi, 0x68
call fcn.00498630
mov ecx, eax
call fcn.00498c20
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
push eax
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [edi + 8]
mov eax, dword [eax + 0x78]
push edx
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
push edi
call eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ecx], ebx
mov dword [edx], ebx
lea ecx, [esp + 0x28]
call fcn.00498940
lea ecx, [esp + 0x18]
call fcn.00466140
jmp 0x4740b3
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
jmp 0x474271
lea ecx, [esp + 0x28]
call fcn.00498940
lea ecx, [esp + 0x18]
call fcn.00466140
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4742b9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4742c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
jmp 0x4749d4
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [ecx], 0xc0000229
je 0x4742f6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x47430a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
jmp 0x4749d4
cmp dword [edi + 4], 1
jne 0x4749c5
mov eax, dword [ebp + 0x18]
cmp eax, 1
je 0x474330
cmp eax, 2
jne 0x4749c5
lea eax, [esp + 0x18]
push 4
push eax
call fcn.0045e3d0
add esp, 8
lea ecx, [esp + 0x28]
call fcn.00498820
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, edi
call fcn.0046f450
test eax, eax
je 0x47438f
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x28]
mov dword [eax], 1
call fcn.00498940
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x474384
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
jmp 0x4749d4
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.0045e3d0
lea ecx, [esp + 0x28]
push 4
push ecx
call fcn.0045e3d0
lea edx, [esp + 0x20]
push 4
push edx
call fcn.0045e3d0
add esp, 0x18
lea ecx, [esp + 0x3c]
call fcn.00498210
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x3c]
call fcn.00498570
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00498950
mov ecx, dword [eax + 4]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [eax]
xor ebx, ebx
push ebx
push 0x40
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.00498670
mov ecx, eax
call fcn.00498c20
push eax
push ebx
lea ecx, [esp + 0xb4]
call fcn.00498600
mov ecx, eax
call fcn.00498c20
push eax
mov ecx, edi
call fcn.00472960
test eax, eax
je 0x474867
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x40]
call fcn.004af5c0
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x47444a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x47445c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x474470
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x38]
call fcn.004985a0
lea eax, [esp + 0xc]
push 4
push eax
call fcn.0045e3d0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
add esp, 8
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x28], ebx
call edx
xor ecx, ecx
cmp dword [eax], ebx
mov eax, dword [esp + 0x74]
sete cl
cmp eax, ebx
mov esi, ecx
je 0x4744b9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x74], ebx
cmp esi, ebx
je 0x47457f
lea ecx, [esp + 0x90]
call fcn.00486ab0
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x40]
call fcn.00498200
mov ecx, eax
call fcn.004869a0
test eax, eax
je 0x4748f4
lea edx, [esp + 0x94]
push edx
call fcn.004871b0
add esp, 4
test eax, eax
je 0x4748f4
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x9c]
push 2
lea edx, [esp + 0x98]
push edx
push edx
lea edx, [esp + 0x78]
push edx
call eax
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x474538
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x47454e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
cmp ecx, ebx
je 0x474566
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], ebx
mov edx, dword [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00469450
mov dword [esp + 0x24], 1
jmp 0x4745f4
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x47458f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov ecx, eax
mov dword [esp + 0xc], ecx
je 0x4745a9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
jne 0x4745f4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x84]
push edx
call eax
push eax
lea ecx, [esp + 0x10]
call fcn.00499700
lea ecx, [esp + 0x84]
call fcn.004c4020
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x47491a
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x4745b4
mov eax, dword [ebp + 0x18]
sub eax, 1
je 0x474638
sub eax, 1
jne 0x47468f
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
shr ecx, 1
push ecx
add eax, 4
push eax
lea ecx, [esp + 0xd8]
add esi, 0x68
call fcn.00498630
mov ecx, eax
call fcn.00498c20
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
jmp 0x47468b
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
shr ecx, 1
push ecx
add eax, 0x12
push eax
lea ecx, [esp + 0xc8]
add esi, 0x68
call fcn.00498630
mov ecx, eax
call fcn.00498c20
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [esi + 8]
mov eax, dword [eax + 0x78]
push edx
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
push esi
call eax
mov edi, dword [esp + 0x70]
cmp dword [esp + 0x24], ebx
je 0x4749b9
mov ecx, dword [edi + 8]
push ecx
lea ecx, [esp + 0x34]
call fcn.00498570
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x2c]
call fcn.00498950
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push ebx
push 0x40
push edx
push eax
lea ecx, [esp + 0xcc]
call fcn.00498670
mov ecx, eax
call fcn.00498c20
push eax
push ebx
lea ecx, [esp + 0xb4]
call fcn.00498600
mov ecx, eax
call fcn.00498c20
push eax
mov ecx, edi
call fcn.00472960
test eax, eax
je 0x474959
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x40]
call fcn.004af5c0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x10]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x24], eax
call edx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x474988
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x474748
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x30]
call fcn.004985a0
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x474765
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x474779
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x47478d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x3c]
call fcn.00498940
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4747aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4747be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4747d2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.0045e3d0
lea ecx, [esp + 0x28]
push 4
push ecx
call fcn.0045e3d0
lea edx, [esp + 0x20]
push 4
push edx
call fcn.0045e3d0
add esp, 0x18
lea ecx, [esp + 0x3c]
call fcn.00498210
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x3c]
call fcn.00498570
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00498950
mov ecx, dword [eax + 4]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [eax]
push ebx
push 0x40
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.00498670
mov ecx, eax
call fcn.00498c20
push eax
push ebx
lea ecx, [esp + 0xb4]
call fcn.00498600
mov ecx, eax
call fcn.00498c20
push eax
mov ecx, edi
call fcn.00472960
test eax, eax
jne 0x474426
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x38]
mov dword [eax], 1
call fcn.004985a0
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x47488d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4748a1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x3c]
call fcn.00498940
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4748be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4748d2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4748e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x28]
call fcn.00498940
jmp 0x474370
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x474879
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
jmp 0x474879
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0xc]
mov dword [eax], 1
call fcn.004c4020
lea ecx, [esp + 0x3c]
call fcn.00469a70
lea ecx, [esp + 0x10]
call fcn.004c4020
lea ecx, [esp + 0x1c]
call fcn.00499d70
lea ecx, [esp + 0x28]
call fcn.00498940
lea ecx, [esp + 0x18]
jmp 0x4740c0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 1
lea ecx, [esp + 0x30]
call fcn.004985a0
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x474879
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xc], ebx
jmp 0x474879
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x47499c
mov eax, dword [ecx]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x38]
push edx
call eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4749b0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x30]
call fcn.004985a0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [ecx], ebx
jmp 0x47496b
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4749de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c