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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
push 4
lea eax, [esp + 0x20]
push eax
call dword [0x100ef7e8]
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [edi + 0xc4]
call fcn.004a2ca0
test eax, eax
je 0x49d662
push 4
lea eax, [esp + 0x14]
push eax
call dword [0x100ef7e8]
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, ebx
je 0x49d1da
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x100cfdd8
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x49d245
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x30]
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49d21d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
cmp ecx, ebx
mov dword [esp + 0x10], ecx
je 0x49d233
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 4]
call ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x49d2b4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x49d2b0
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x49d255
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x100cfae8
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x49d63b
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x30]
push eax
call edx
push eax
lea esi, [esp + 0x14]
call fcn.004a21c0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x49d2a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x49d2b0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
test eax, eax
jne 0x49d31f
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x18]
push edx
call eax
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49d2e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi]
cmp ecx, ebx
mov dword [esp + 0x10], ecx
je 0x49d2fc
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 4]
call ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x49d314
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
je 0x49d2c0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x49d443
mov eax, dword [ebp + 0x18]
sub eax, 2
je 0x49d3d5
sub eax, 4
je 0x49d3af
sub eax, 2
je 0x49d389
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ecx], ebx
mov dword [edx], 0xc000000d
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49d36a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49d37e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jmp 0x49ddf0
cmp dword [ebp + 0x14], 0x40
lea esi, [esp + 0x14]
jae 0x49d3a3
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [ecx], 0xc0000004
jmp 0x49d3ed
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edx], ebx
mov dword [eax], ebx
jmp 0x49d3ed
cmp dword [ebp + 0x14], 0x30
lea esi, [esp + 0x14]
jae 0x49d3c9
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ecx], ebx
mov dword [edx], 0xc0000004
jmp 0x49d3ed
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [ecx], ebx
jmp 0x49d3ed
cmp dword [ebp + 0x14], 8
jae 0x49d40d
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edx], ebx
mov dword [eax], 0xc0000004
lea esi, [esp + 0x14]
call fcn.004c5d90
lea esi, [esp + 0x10]
call fcn.004c5d90
lea esi, [esp + 0x1c]
call fcn.004c5d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 4]
mov eax, dword [eax]
shr eax, 1
add eax, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
mov word [esp + 0x28], ax
mov word [esp + 0x2a], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x28]
push eax
call edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [ecx], ebx
jmp 0x49d3e9
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x28]
push eax
call edx
push 0x100cf980
lea eax, [esp + 0x88]
push eax
call dword [0x100ef7e0]
lea ebx, [esp + 0x84]
lea esi, [esp + 0x28]
call fcn.005056b0
mov esi, dword [0x100ef48c]
push 8
lea ecx, [esp + 0x80]
push ecx
add esi, 0x160
call dword [0x100ef7e8]
push 0x4021
push 3
lea eax, [esp + 0x84]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x7c], edx
push 0x100002
lea edx, [esp + 0x2c]
xor ebx, ebx
push edx
mov edx, dword [eax + 0x24]
mov ecx, esi
mov dword [esp + 0x7c], 0x18
mov dword [esp + 0x80], ebx
mov dword [esp + 0x88], 0x40
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call edx
call eax
test eax, eax
jne 0x49d5f6
cmp dword [edi + 0x70], 1
jne 0x49d5d6
mov eax, dword [ebp + 0x18]
sub eax, 1
je 0x49d569
sub eax, 1
je 0x49d51e
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
jmp 0x49d5bf
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 4]
mov eax, dword [eax]
shr eax, 1
add eax, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov word [esp + 0x20], ax
mov word [esp + 0x22], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
lea eax, [esp + 0x28]
mov dword [ecx], ebx
call fcn.00505660
lea eax, [esp + 0x18]
call fcn.0053d580
jmp 0x49d3e9
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
shr eax, 1
add eax, eax
lea edx, [esi + 0x12]
mov dword [esp + 0x60], edx
mov word [esp + 0x5c], ax
mov word [esp + 0x5e], ax
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
lea edx, [esp + 0x5c]
push edx
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [esi + 8]
mov edx, dword [edx + 0x88]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x94]
push esi
call edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov dword [ecx], ebx
lea eax, [esp + 0x28]
call fcn.00505660
lea eax, [esp + 0x18]
call fcn.0053d580
jmp 0x49d3e9
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x28]
mov dword [edx], 1
call fcn.00505660
lea eax, [esp + 0x18]
call fcn.0053d580
jmp 0x49d356
lea eax, [esp + 0x28]
call fcn.00505660
lea eax, [esp + 0x18]
call fcn.0053d580
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49d61c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49d37e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jmp 0x49ddf0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [ecx], 0xc0000229
je 0x49d36a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x49d366
cmp dword [edi + 0x70], 1
jne 0x49dde1
mov eax, dword [ebp + 0x18]
cmp eax, 1
je 0x49d67d
cmp eax, 2
jne 0x49dde1
push 4
lea eax, [esp + 0x1c]
push eax
call dword [0x100ef7e8]
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
xor ebx, ebx
push ecx
push edx
mov eax, edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
mov word [esp + 0x32], bx
call fcn.0049ad00
test eax, eax
je 0x49d6e6
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
lea eax, [esp + 0x28]
call fcn.00505660
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x49d37e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp eax, ebx
jmp 0x49ddf0
mov edi, dword [ebp + 8]
push 4
lea eax, [esp + 0x24]
push eax
call dword [0x100ef7e8]
push 4
lea ecx, [esp + 0x28]
push ecx
call dword [0x100ef7e8]
push 4
lea edx, [esp + 0x18]
push edx
call dword [0x100ef7e8]
mov esi, dword [edi + 0x74]
cmp esi, ebx
mov dword [esp + 0xac], ebx
mov word [esp + 0xa8], bx
mov word [esp + 0xaa], bx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
je 0x49d741
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x9c]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 8
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], ecx
push eax
lea ecx, [esp + 0xe8]
push ecx
mov dword [esp + 0xb0], edx
call dword [0x100ef7ec]
mov eax, dword [edi + 0x74]
lea edx, [esp + 0xe0]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x38]
push edx
push eax
mov eax, edi
mov dword [esp + 0x40], 0x18
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], 0x40
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.0049bf30
test eax, eax
je 0x49dba2
mov eax, dword [esp + 0xb8]
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x49d7d8
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49d7e8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x49d800
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
push 4
lea eax, [esp + 0x14]
push eax
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x58]
push eax
xor edi, edi
call edx
xor ecx, ecx
cmp dword [eax], ebx
mov eax, dword [esp + 0x58]
sete cl
cmp eax, ebx
mov esi, ecx
je 0x49d850
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x58], ebx
cmp esi, ebx
je 0x49d92c
push 0x100cf494
lea ecx, [esp + 0x80]
push ecx
call dword [0x100ef7e0]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
lea esi, [esp + 0x64]
lea eax, [esp + 0xbc]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], ebx
call fcn.00484250
test eax, eax
je 0x49dc4d
lea ecx, [esp + 0x68]
push ecx
call fcn.004abcf0
add esp, 4
test eax, eax
je 0x49dc4d
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x74]
mov eax, dword [ecx]
mov eax, dword [eax + 0xac]
push 2
lea edx, [esp + 0x6c]
push edx
push edx
lea edx, [esp + 0x60]
push edx
call eax
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49d8e6
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 0x49d8fc
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
je 0x49d914
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], ebx
mov edi, dword [esp + 0x14]
mov ebx, eax
lea esi, [esp + 0x20]
call fcn.004a4340
mov edi, 1
xor ebx, ebx
jmp 0x49d9a1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49d93c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov ecx, eax
mov dword [esp + 0x10], ecx
je 0x49d956
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
test eax, eax
jne 0x49d9a1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x94]
push edx
call eax
push eax
lea esi, [esp + 0x14]
call fcn.004a21c0
lea esi, [esp + 0x94]
call fcn.004c5d90
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x49dc73
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
je 0x49d961
mov eax, dword [ebp + 0x18]
sub eax, 1
je 0x49d9ea
sub eax, 1
jne 0x49da42
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 4]
mov eax, dword [eax]
shr eax, 1
add eax, eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x10]
mov word [esp + 0x8c], ax
mov word [esp + 0x8e], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x8c]
push eax
call edx
jmp 0x49da42
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x12]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0xc]
shr eax, 1
add eax, eax
mov word [esp + 0x98], ax
mov word [esp + 0x9a], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x98]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [esi + 8]
mov eax, dword [eax + 0x88]
push edx
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
push esi
call eax
cmp edi, ebx
je 0x49dd0c
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x74]
cmp esi, ebx
je 0x49da5c
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 8
lea edx, [esp + 0x88]
mov dword [esp + 0x88], eax
push edx
lea eax, [esp + 0xe0]
push eax
mov dword [esp + 0x94], ecx
call dword [0x100ef7ec]
mov eax, dword [edi + 0x74]
lea ecx, [esp + 0xd8]
lea edx, [esp + 0xa8]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x38]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x40], 0x18
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], 0x40
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.0049bf30
test eax, eax
je 0x49dcb5
mov edx, dword [esp + 0xb8]
mov edi, dword [edx + 8]
cmp edi, ebx
mov dword [esp + 0x30], edi
je 0x49daf7
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp edi, eax
je 0x49dcd4
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49db51
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0xa8]
call fcn.0048b140
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49db71
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x49db85
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x49d6e3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
jmp 0x49d6e3
mov eax, dword [ebp + 0x1c]
mov edx, dword [esi]
mov dword [eax], 1
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
lea eax, [esp + 0xa8]
call fcn.0048b140
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49dbdf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x49dbf3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x49dc07
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x49d6c0
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x38]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x50], bl
je 0x49d6c0
mov esi, dword [esp + 0x4c]
call fcn.005154d0
jmp 0x49d6c0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49dbbf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
jmp 0x49dbbf
mov eax, dword [ebp + 0x1c]
lea esi, [esp + 0x10]
mov dword [eax], 1
call fcn.004c5d90
lea eax, [esp + 0xa8]
call fcn.0048b140
lea esi, [esp + 0x14]
call fcn.004c5d90
lea esi, [esp + 0x20]
call fcn.00490350
lea eax, [esp + 0x28]
call fcn.00505660
lea esi, [esp + 0x18]
jmp 0x49d3f6
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov dword [ecx], 1
mov ecx, esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
jmp 0x49dc56
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x49dce8
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x48]
push edx
call eax
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x49dcf8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov ecx, esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [edx], ebx
je 0x49dd2a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0xb0]
push eax
call fcn.004a4660
mov esi, dword [esp + 0xac]
cmp esi, ebx
mov edi, dword [0x100cf260]
je 0x49dd76
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x38]
call fcn.00532c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call edi
cmp byte [esp + 0x50], bl
je 0x49dd76
mov esi, dword [esp + 0x4c]
call fcn.005154d0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49dd8a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x49dd9e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x49ddb2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x49d6c0
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x38]
call fcn.00532c00
mov eax, dword [0x100ef808]
push esi
push 1
push eax
call edi
jmp 0x49dc35
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49ddfa
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