Function at 0x4f2d10
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54c0d0
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x59b364]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b364]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xdc]
push 0x20
push 0xe
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
call fcn.004eac30
mov edi, dword [ebx + 0x10]
mov esi, eax
cmp dword [ebx + 0xc], edi
jbe 0x4f2d72
call fcn.00513531
mov eax, dword [ebx + 0xc]
mov ebp, dword [ebx]
mov dword [esp + 0x14], eax
cmp eax, dword [ebx + 0x10]
jbe 0x4f2d85
call fcn.00513531
mov eax, dword [ebx]
test ebp, ebp
je 0x4f2d8f
cmp ebp, eax
je 0x4f2d94
call fcn.00513531
sub edi, dword [esp + 0x14]
sar edi, 1
mov dword [esi + 8], edi
mov edi, dword [ebx + 0x28]
cmp dword [ebx + 0x24], edi
jbe 0x4f2daa
call fcn.00513531
mov eax, dword [ebx + 0x24]
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
cmp eax, dword [ebx + 0x28]
jbe 0x4f2dbe
call fcn.00513531
mov eax, dword [ebx + 0x18]
test ebp, ebp
je 0x4f2dc9
cmp ebp, eax
je 0x4f2dce
call fcn.00513531
sub edi, dword [esp + 0x14]
sar edi, 1
shr edi, 1
mov dword [esi + 0xc], edi
mov edi, dword [ebx + 0x50]
cmp dword [ebx + 0x4c], edi
jbe 0x4f2de6
call fcn.00513531
mov ecx, ebx
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x40]
cmp ebx, dword [ecx + 0x50]
jbe 0x4f2dfc
call fcn.00513531
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x40]
test ebp, ebp
je 0x4f2e07
cmp ebp, eax
je 0x4f2e10
call fcn.00513531
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
sub edi, ebx
sar edi, 1
mov dword [esi + 0x10], edi
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x14], eax
mov ecx, dword [ecx + 0x38]
mov dword [esi + 0x18], ecx
mov edx, dword [edx]
test dword [edx + 0x20], 0x100000
je 0x4f2e72
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0x34]
mov ebx, eax
and ebx, edx
cmp ebx, edx
je 0x4f2e4c
mov edx, dword [edi + 0x38]
mov ebx, eax
and ebx, edx
cmp ebx, edx
jne 0x4f2e54
mov edx, dword [edi + 0x3c]
or edx, eax
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x34]
mov edx, ecx
and edx, eax
cmp edx, eax
je 0x4f2e6a
mov eax, dword [edi + 0x38]
mov edx, ecx
and edx, eax
cmp edx, eax
jne 0x4f2e72
mov eax, dword [edi + 0x3c]
or eax, ecx
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0x28]
mov al, byte [edi + 0x30]
mov edx, dword [esp + 0x18]
mov byte [esi + 0x1c], al
cmp byte [edi + 0x31], 0
sete cl
mov byte [esi + 0x1d], cl
mov eax, dword [edx]
sub esi, dword [eax + 0x144]
mov dword [esp + 0x40], esi
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x4f2ea3
call fcn.00513531
mov ebp, dword [edi]
mov ebx, esi
mov esi, dword [edi + 0x10]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], esi
cmp dword [edi + 0xc], esi
jbe 0x4f2ebc
call fcn.00513531
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
test ebp, ebp
je 0x4f2ecc
cmp ebp, dword [esp + 0x2c]
je 0x4f2ed1
call fcn.00513531
cmp ebx, esi
je 0x4f3021
test ebp, ebp
jne 0x4f2fd9
call fcn.00513531
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4f2ef2
call fcn.00513531
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x140]
xor edx, edx
cmp byte [ebx + 1], dl
setne dl
add esi, 0x140
sub ecx, eax
add edx, 2
mov edi, edx
cmp ecx, edi
jae 0x4f2f29
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.004fe510
mov ebp, dword [esi + 8]
mov ecx, dword [esp + 0x1c]
add edi, ebp
mov dword [esi + 8], edi
test ecx, ecx
jne 0x4f2fe1
call fcn.00513531
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4f2f56
call fcn.00513531
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xc], 0
mov al, byte [ebx]
je 0x4f2f71
mov edx, dword [edx + 4]
mov edx, dword [edx]
movzx eax, al
mov al, byte [edx + eax + 0x104]
mov byte [ebp], al
test ecx, ecx
jne 0x4f2fe8
call fcn.00513531
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4f2f91
call fcn.00513531
mov ecx, dword [esp + 0x1c]
cmp byte [ebx + 1], 0
je 0x4f2ff0
test ecx, ecx
jne 0x4f2fec
call fcn.00513531
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4f2fb4
call fcn.00513531
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xc], 0
mov al, byte [ebx + 1]
je 0x4f2fd0
mov edx, dword [edx + 4]
mov edx, dword [edx]
movzx eax, al
mov al, byte [edx + eax + 0x104]
mov byte [ebp + 1], al
mov byte [ebp + 2], 0
jmp 0x4f2ff4
mov eax, dword [ebp]
jmp 0x4f2ee8
mov eax, dword [ecx]
jmp 0x4f2f48
mov eax, dword [ecx]
jmp 0x4f2f83
mov eax, dword [ecx]
jmp 0x4f2fa6
mov byte [ebp + 1], 0
test ecx, ecx
jne 0x4f301d
call fcn.00513531
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4f3009
call fcn.00513531
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
add ebx, 2
jmp 0x4f2ec2
mov eax, dword [ecx]
jmp 0x4f2fff
mov esi, dword [edi + 0x24]
cmp esi, dword [edi + 0x28]
jbe 0x4f302e
call fcn.00513531
mov eax, dword [edi + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x24], eax
jbe 0x4f304a
call fcn.00513531
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4f305f
cmp esi, dword [esp + 0x44]
je 0x4f3064
call fcn.00513531
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x3c]
je 0x4f386d
test esi, esi
jne 0x4f30c0
call fcn.00513531
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4f3087
call fcn.00513531
mov ebp, dword [esp + 0x18]
mov al, byte [ebp + 0xc]
mov cl, byte [edi]
mov bl, byte [edi + 1]
mov edx, dword [ebp + 4]
test al, al
je 0x4f30aa
mov esi, dword [edx]
movzx ecx, cl
mov cl, byte [ecx + esi + 0x104]
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x34], cl
test al, al
je 0x4f30c4
mov edx, dword [edx]
movzx eax, bl
mov al, byte [eax + edx + 0x104]
jmp 0x4f30c6
mov eax, dword [esi]
jmp 0x4f307d
mov al, bl
mov byte [esp + 0x35], al
test esi, esi
jne 0x4f3126
call fcn.00513531
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4f30df
call fcn.00513531
add edi, 2
test esi, esi
jne 0x4f312a
call fcn.00513531
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4f30f7
call fcn.00513531
mov al, byte [ebp + 0xc]
mov cl, byte [edi]
mov edx, dword [ebp + 4]
test al, al
je 0x4f310f
mov esi, dword [edx]
movzx ecx, cl
mov cl, byte [ecx + esi + 0x104]
mov byte [esp + 0x2c], cl
test al, al
je 0x4f312e
movzx eax, byte [edi + 1]
mov edx, dword [edx]
mov al, byte [eax + edx + 0x104]
jmp 0x4f3131
mov eax, dword [esi]
jmp 0x4f30d5
mov eax, dword [esi]
jmp 0x4f30ed
mov al, byte [edi + 1]
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp eax, ebp
jne 0x4f337b
call fcn.00513531
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4f3154
call fcn.00513531
add edi, 2
mov eax, 0xf
mov dword [esp + 0x20], edi
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
mov dword [esp + 0xd4], ebp
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
mov esi, dword [esp + 0x18]
mov ecx, dword [esi]
test dword [ecx + 0x20], 0x200000
mov ebx, 1
mov byte [esp + 0xd4], bl
je 0x4f3382
movzx edx, byte [esp + 0x34]
mov al, byte [esp + 0x35]
mov cl, byte [esp + 0x2c]
mov byte [esp + 0x14], dl
movzx edx, byte [esp + 0x2d]
mov byte [esp + 0x15], al
test al, al
mov byte [esp + 0x16], 0
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0
lea eax, [esp + 0x16]
jne 0x4f31e7
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esi + 4]
call fcn.004eb680
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 2
call fcn.00402938
mov edi, 0x10
mov byte [esp + 0xd4], bl
cmp dword [esp + 0xa8], edi
jb 0x4f323a
mov edx, dword [esp + 0x94]
push edx
call fcn.00511b06
add esp, 4
cmp byte [esp + 0x25], 0
lea eax, [esp + 0x26]
jne 0x4f3249
lea eax, [esp + 0x25]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esi + 4]
call fcn.004eb680
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 3
call fcn.00402938
mov byte [esp + 0xd4], bl
cmp dword [esp + 0xa8], edi
jb 0x4f3297
mov edx, dword [esp + 0x94]
push edx
call fcn.00511b06
add esp, 4
cmp dword [esp + 0xc0], ebp
jne 0x4f3301
mov dword [esp + 0xa8], 0xf
mov byte [esp + 0x94], 0
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x95], 0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 4
call fcn.00402938
mov byte [esp + 0xd4], bl
cmp dword [esp + 0xa8], edi
jb 0x4f3301
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00511b06
add esp, 4
mov edi, dword [esp + 0x88]
cmp edi, ebp
jne 0x4f3591
mov dword [esp + 0xa8], 0xf
mov byte [esp + 0x94], 0
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x95], 0
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 5
call fcn.00402938
cmp dword [esp + 0xa8], 0x10
mov byte [esp + 0xd4], bl
jb 0x4f358a
mov eax, dword [esp + 0x94]
push eax
call fcn.00511b06
add esp, 4
jmp 0x4f358a
mov eax, dword [eax]
jmp 0x4f314a
cmp byte [esp + 0x35], 0
je 0x4f3421
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0xb4]
push ecx
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xbc]
call fcn.004ec1b0
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xb0]
mov esi, eax
cmp edx, 0x10
jae 0x4f33cf
lea esi, [esp + 0xb0]
mov edi, dword [esp + 0xc0]
add esi, edi
cmp esi, ebp
je 0x4f3400
mov ecx, eax
cmp edx, 0x10
jae 0x4f33ea
lea ecx, [esp + 0xb0]
cmp ecx, esi
ja 0x4f3400
cmp edx, 0x10
jae 0x4f33fa
lea eax, [esp + 0xb0]
add eax, edi
cmp esi, eax
jbe 0x4f3405
call fcn.00513531
mov ecx, dword [esp + 0x35]
push ecx
lea eax, [esp + 0xb0]
push esi
push eax
lea edx, [esp + 0x68]
push edx
mov ecx, eax
call fcn.004ec1b0
jmp 0x4f3482
mov dword [esp + 0xa8], eax
mov al, byte [esp + 0x34]
mov byte [esp + 0x94], al
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x95], 0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 6
call fcn.00402938
cmp dword [esp + 0xa8], 0x10
mov byte [esp + 0xd4], bl
jb 0x4f3482
mov edx, dword [esp + 0x94]
push edx
call fcn.00511b06
add esp, 4
cmp byte [esp + 0x2d], 0
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
mov esi, eax
je 0x4f353a
cmp edi, 0x10
jae 0x4f34a3
lea esi, [esp + 0x78]
mov edx, dword [esp + 0x88]
add esi, edx
cmp esi, ebp
je 0x4f34ce
mov ecx, eax
cmp edi, 0x10
jae 0x4f34bb
lea ecx, [esp + 0x78]
cmp ecx, esi
ja 0x4f34ce
cmp edi, 0x10
jae 0x4f34c8
lea eax, [esp + 0x78]
add eax, edx
cmp esi, eax
jbe 0x4f34d3
call fcn.00513531
mov ecx, dword [esp + 0x2c]
push ecx
lea eax, [esp + 0x78]
push esi
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, eax
call fcn.004ec1b0
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x78]
mov esi, eax
cmp edx, 0x10
jae 0x4f3500
lea esi, [esp + 0x78]
mov edi, dword [esp + 0x88]
add esi, edi
cmp esi, ebp
je 0x4f352b
mov ecx, eax
cmp edx, 0x10
jae 0x4f3518
lea ecx, [esp + 0x78]
cmp ecx, esi
ja 0x4f352b
cmp edx, 0x10
jae 0x4f3525
lea eax, [esp + 0x78]
add eax, edi
cmp esi, eax
jbe 0x4f3530
call fcn.00513531
mov ecx, dword [esp + 0x2d]
lea edx, [esp + 0x64]
jmp 0x4f357b
cmp edi, 0x10
jae 0x4f3543
lea esi, [esp + 0x78]
mov edx, dword [esp + 0x88]
add esi, edx
cmp esi, ebp
je 0x4f356e
mov ecx, eax
cmp edi, 0x10
jae 0x4f355b
lea ecx, [esp + 0x78]
cmp ecx, esi
ja 0x4f356e
cmp edi, 0x10
jae 0x4f3568
lea eax, [esp + 0x78]
add eax, edx
cmp esi, eax
jbe 0x4f3573
call fcn.00513531
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x54]
push ecx
push esi
lea eax, [esp + 0x7c]
push eax
push edx
mov ecx, eax
call fcn.004ec1b0
mov edi, dword [esp + 0x88]
cmp dword [esp + 0xc4], 0x10
mov edx, dword [esp + 0xb0]
jae 0x4f35a9
lea edx, [esp + 0xb0]
mov ecx, dword [esp + 0xc0]
cmp edi, ecx
jae 0x4f35b6
mov ecx, edi
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x78]
mov eax, ebx
cmp esi, 0x10
jae 0x4f35cc
lea eax, [esp + 0x78]
push ecx
push edx
push eax
call fcn.00409290
add esp, 0xc
cmp eax, ebp
jne 0x4f35f5
mov eax, dword [esp + 0xc0]
cmp edi, eax
jb 0x4f3827
xor ecx, ecx
cmp edi, eax
setne cl
mov eax, ecx
cmp eax, ebp
jl 0x4f3827
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov edx, dword [esp + 0xc0]
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x140]
add esi, 0x140
lea edi, [edi + edx + 2]
sub ecx, eax
cmp ecx, edi
jae 0x4f3632
mov edx, edi
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.004fe510
mov ebx, dword [esi + 8]
add edi, ebx
mov dword [esi + 8], edi
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xb0]
mov eax, edx
cmp ecx, 0x10
jae 0x4f3656
lea eax, [esp + 0xb0]
mov esi, dword [esp + 0xc0]
lea edi, [eax + esi]
cmp edi, ebp
je 0x4f368a
mov eax, edx
cmp ecx, 0x10
jae 0x4f3672
lea eax, [esp + 0xb0]
cmp eax, edi
ja 0x4f368a
mov eax, edx
cmp ecx, 0x10
jae 0x4f3684
lea eax, [esp + 0xb0]
add eax, esi
cmp edi, eax
jbe 0x4f369d
call fcn.00513531
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xb0]
cmp ecx, 0x10
jb 0x4f3812
mov esi, edx
cmp edx, ebp
je 0x4f36d9
mov eax, edx
cmp ecx, 0x10
jae 0x4f36ba
lea eax, [esp + 0xb0]
cmp eax, esi
ja 0x4f36d9
mov eax, edx
cmp ecx, 0x10
jae 0x4f36cc
lea eax, [esp + 0xb0]
mov edx, dword [esp + 0xc0]
add eax, edx
cmp esi, eax
jbe 0x4f36de
call fcn.00513531
sub edi, esi
mov eax, edi
cmp eax, ebp
jle 0x4f36f2
push eax
push esi
push eax
push ebx
call fcn.0051334d
add esp, 0x10
mov eax, dword [esp + 0xc0]
mov byte [ebx + eax], 0
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x78]
lea ebx, [ebx + ecx + 1]
mov ecx, dword [esp + 0x8c]
mov eax, edx
cmp ecx, 0x10
jae 0x4f371e
lea eax, [esp + 0x78]
mov esi, dword [esp + 0x88]
lea edi, [eax + esi]
cmp edi, ebp
je 0x4f374c
mov eax, edx
cmp ecx, 0x10
jae 0x4f3737
lea eax, [esp + 0x78]
cmp eax, edi
ja 0x4f374c
mov eax, edx
cmp ecx, 0x10
jae 0x4f3746
lea eax, [esp + 0x78]
add eax, esi
cmp edi, eax
jbe 0x4f375c
call fcn.00513531
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x78]
cmp ecx, 0x10
jb 0x4f381e
mov esi, edx
cmp edx, ebp
je 0x4f3792
mov eax, edx
cmp ecx, 0x10
jae 0x4f3776
lea eax, [esp + 0x78]
cmp eax, esi
ja 0x4f3792
mov eax, edx
cmp ecx, 0x10
jae 0x4f3785
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
add eax, edx
cmp esi, eax
jbe 0x4f3797
call fcn.00513531
sub edi, esi
mov eax, edi
cmp eax, ebp
jle 0x4f37ab
push eax
push esi
push eax
push ebx
call fcn.0051334d
add esp, 0x10
mov eax, dword [esp + 0x88]
mov byte [ebx + eax], 0
cmp dword [esp + 0x8c], 0x10
jb 0x4f37cd
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00511b06
add esp, 4
cmp dword [esp + 0xc4], 0x10
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
mov dword [esp + 0xd4], 0xffffffff
jb 0x4f3051
mov edx, dword [esp + 0xb0]
push edx
call fcn.00511b06
add esp, 4
jmp 0x4f3051
lea esi, [esp + 0xb0]
jmp 0x4f36ac
lea esi, [esp + 0x78]
jmp 0x4f376b
cmp esi, 0x10
jb 0x4f3835
push ebx
call fcn.00511b06
add esp, 4
cmp dword [esp + 0xc4], 0x10
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
jb 0x4f3866
mov eax, dword [esp + 0xb0]
push eax
call fcn.00511b06
add esp, 4
xor eax, eax
jmp 0x4f3bad
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0x4c]
cmp esi, dword [edi + 0x50]
jbe 0x4f387e
call fcn.00513531
mov ebx, dword [edi + 0x40]
mov ebp, esi
mov esi, dword [edi + 0x50]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], esi
cmp dword [edi + 0x4c], esi
jbe 0x4f3898
call fcn.00513531
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x44], ecx
nop
test ebx, ebx
je 0x4f38aa
cmp ebx, dword [esp + 0x44]
je 0x4f38af
call fcn.00513531
cmp ebp, esi
je 0x4f3b9a
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
mov dword [esp + 0xd4], 7
test ebx, ebx
jne 0x4f39a4
call fcn.00513531
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4f38f9
call fcn.00513531
cmp byte [ebp + 1], 0
lea esi, [ebp + 1]
je 0x4f39b9
test ebx, ebx
jne 0x4f39ab
call fcn.00513531
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4f391f
call fcn.00513531
mov dl, byte [ebp]
mov byte [esp + 0x14], dl
test ebx, ebx
jne 0x4f39b2
call fcn.00513531
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4f393f
call fcn.00513531
mov al, byte [esi]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x16]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
mov byte [esp + 0x19], al
push edx
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x22], 0
call fcn.004f0f50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 8
call fcn.00402938
cmp dword [esp + 0xc4], 0x10
mov byte [esp + 0xd4], 7
jb 0x4f3a3c
mov ecx, dword [esp + 0xb0]
push ecx
jmp 0x4f3a34
mov eax, dword [ebx]
jmp 0x4f38ef
mov eax, dword [ebx]
jmp 0x4f3915
mov eax, dword [ebx]
jmp 0x4f3935
test ebx, ebx
jne 0x4f3b6d
call fcn.00513531
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4f39d2
call fcn.00513531
test ebx, ebx
jne 0x4f3b74
call fcn.00513531
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4f39eb
call fcn.00513531
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push ebp
lea edx, [esp + 0xb4]
push edx
call fcn.004f0f50
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 9
call fcn.00402938
cmp dword [esp + 0xc4], 0x10
mov byte [esp + 0xd4], 7
jb 0x4f3a3c
mov eax, dword [esp + 0xb0]
push eax
call fcn.00511b06
add esp, 4
mov edi, dword [esp + 0xa4]
test edi, edi
je 0x4f3b7f
mov esi, dword [esi]
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x140]
add esi, 0x140
inc edi
sub ecx, eax
cmp ecx, edi
jae 0x4f3a74
mov edx, edi
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.004fe510
mov ebx, dword [esi + 8]
add edi, ebx
mov dword [esi + 8], edi
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x4f3a94
lea eax, [esp + 0x94]
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0x90]
push ecx
add eax, edx
push eax
lea ecx, [esp + 0x34]
call fcn.004094da
mov eax, dword [esp + 0x94]
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jae 0x4f3acb
lea eax, [esp + 0x94]
lea edx, [esp + 0x90]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004094da
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
sub eax, ecx
test eax, eax
jle 0x4f3af7
push eax
push ecx
push eax
push ebx
call fcn.0051334d
add esp, 0x10
mov eax, dword [esp + 0xa4]
mov byte [ebx + eax], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4f3b7b
call fcn.00513531
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4f3b1b
call fcn.00513531
add ebp, 2
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0xa8], esi
jb 0x4f3b42
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00511b06
add esp, 4
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
jmp 0x4f38a0
mov eax, dword [ebx]
jmp 0x4f39c8
mov eax, dword [ebx]
jmp 0x4f39e1
mov eax, dword [eax]
jmp 0x4f3b11
lea ecx, [esp + 0x90]
mov dword [esp + 0xd4], 0xffffffff
call fcn.0040214b
xor eax, eax
jmp 0x4f3bad
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x144]
add eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005139d8
add esp, 0xc4
ret 8