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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55898f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push esi
push edi
lea eax, [esp + 0xf]
mov esi, ecx
push eax
push 0x570a44
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
call fcn.00405170
xor ebx, ebx
mov dword [esp + 0x154], ebx
mov edi, dword [ebp + 8]
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0043b7b0
mov byte [esi + 0x35e], al
mov dword [esp + 0x154], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4d71e8
push eax
call fcn.004ed9bb
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
mov ecx, esi
call fcn.004d67b0
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0xc]
push eax
push edx
call fcn.004d5e00
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
push edx
call fcn.004d5e50
lea edx, [esp + 0xf]
push edx
push 0x56ff10
lea ecx, [esp + 0x20]
call fcn.00405170
mov dword [esp + 0x154], 2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.0043b7d0
mov byte [esp + 0x154], 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4d725e
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x64]
call fcn.00439390
test al, al
jne 0x4d72b4
push 0x4cd
push 0x570908
push 0x570c80
push 0x569444
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x18
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], 0x569430
call fcn.004edfb3
push 0x581188
lea eax, [esp + 0x7c]
push eax
call fcn.004ee19f
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], ebx
call fcn.00439360
test eax, eax
jle 0x4d7cb0
lea ecx, [esp + 0xd8]
mov dword [esp + 0x30], ecx
jmp 0x4d72e0
mov esi, dword [esp + 0x2c]
lea ebx, [ebx]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x154], 7
lea ecx, [esp + 0xc8]
call fcn.00409000
mov byte [esp + 0x154], 8
lea ecx, [esp + 0xd8]
call fcn.00409000
mov byte [esp + 0x154], 0xb
lea edx, [esp + 0xf]
push edx
push 0x56a06a
lea ecx, [esp + 0x13c]
call fcn.00405170
mov byte [esp + 0x154], 0xc
lea eax, [esp + 0xf]
push eax
push 0x56ff54
lea ecx, [esp + 0x118]
call fcn.00405170
mov byte [esp + 0x154], 0xd
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x10c]
push edx
lea ecx, [esp + 0x6c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0xe
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
call fcn.0043b740
mov byte [esp + 0x154], 0xf
lea edx, [esp + 0xc8]
cmp eax, edx
je 0x4d73c0
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xf]
push edx
push ecx
push eax
lea ecx, [esp + 0xd4]
call fcn.00409410
mov byte [esp + 0x154], 0xe
mov eax, dword [esp + 0xe8]
cmp eax, ebx
je 0x4d73dc
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x154], 0xd
mov edi, dword [esp + 0x10c]
cmp edi, ebx
je 0x4d7415
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7415
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7415
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov byte [esp + 0x154], 0xc
mov eax, dword [esp + 0x110]
cmp eax, ebx
je 0x4d7431
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x154], 0xb
mov eax, dword [esp + 0x134]
cmp eax, ebx
je 0x4d744d
push eax
call fcn.004ed9bb
add esp, 4
lea eax, [esp + 0xf]
push eax
push 0x56ff3c
lea ecx, [esp + 0x104]
call fcn.00405170
mov byte [esp + 0x154], 0x15
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0x6c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x16
push 0xfffffc19
lea ecx, [esp + 0x100]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0xd4], eax
mov byte [esp + 0x154], 0x15
mov eax, dword [esp + 0x130]
cmp eax, ebx
je 0x4d74df
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d74df
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d74df
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x154], 0xb
mov eax, dword [esp + 0xfc]
cmp eax, ebx
je 0x4d74fb
push eax
call fcn.004ed9bb
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x6c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x1a
lea ecx, [esp + 0xd8]
push ecx
push eax
mov ecx, esi
call fcn.004d4eb0
mov byte [esp + 0x154], 0xb
mov eax, dword [esp + 0x144]
cmp eax, ebx
je 0x4d7564
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d7564
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d7564
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
add esi, 0x1c
cmp ecx, eax
je 0x4d75a3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x9c], ecx
mov byte [esp + 0x154], 0x1d
cmp ecx, ebx
je 0x4d7595
lea edx, [esp + 0xc8]
push edx
call fcn.004d2830
mov byte [esp + 0x154], 0xb
add dword [esi + 4], 0x20
jmp 0x4d75bc
push 1
push 1
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0xd4]
push edx
push ecx
mov ecx, esi
call fcn.004d4d00
lea eax, [esp + 0xf]
push eax
push 0x570a34
lea ecx, [esp + 0x80]
call fcn.00405170
mov byte [esp + 0x154], 0x1e
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x6c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x1f
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.0043b7d0
mov byte [esp + 0x154], 0x22
mov eax, dword [esp + 0x128]
cmp eax, ebx
je 0x4d7644
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7644
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7644
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov byte [esp + 0x154], 0x21
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x4d765d
push eax
call fcn.004ed9bb
add esp, 4
xor esi, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], esi
call fcn.00439360
test eax, eax
jle 0x4d7bb0
lea eax, [esp + 0x50]
mov dword [esp + 0x9c], eax
nop
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x154], 0x26
push 8
call fcn.004ed9ad
mov dword [esp + 0x54], eax
lea ecx, [eax + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov byte [eax], bl
mov byte [esp + 0x158], 0x29
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x158], 0x2a
push 3
call fcn.004ed9ad
push 2
mov dword [esp + 0xac], eax
lea edx, [eax + 3]
push 0x56a80c
push eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
call fcn.004ee1e0
add eax, 2
mov dword [esp + 0xb8], eax
add esp, 0x14
mov byte [eax], bl
mov byte [esp + 0x154], 0x2b
push esi
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x2c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x2c
push ebx
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0x40], eax
mov byte [esp + 0x154], 0x2b
mov eax, dword [esp + 0xf8]
cmp eax, ebx
je 0x4d777d
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d777d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d777d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x154], 0x29
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x4d7799
push eax
call fcn.004ed9bb
add esp, 4
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x154], 0x30
push 4
call fcn.004ed9ad
push 3
mov dword [esp + 0x94], eax
lea ecx, [eax + 4]
push 0x570a30
push eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
call fcn.004ee1e0
add eax, 3
mov dword [esp + 0xa0], eax
add esp, 0x10
mov byte [eax], bl
mov byte [esp + 0x154], 0x31
push esi
lea edx, [esp + 0x120]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x32
push ebx
lea ecx, [esp + 0x90]
push ecx
mov ecx, eax
call fcn.0043b7b0
mov byte [esp + 0x44], al
mov byte [esp + 0x154], 0x31
mov eax, dword [esp + 0x120]
cmp eax, ebx
je 0x4d7862
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d7862
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d7862
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x154], 0x29
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x4d787e
push eax
call fcn.004ed9bb
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x154], 0x36
push 0xb
call fcn.004ed9ad
push 0xa
mov dword [esp + 0x3c], eax
lea ecx, [eax + 0xb]
push 0x56ff3c
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call fcn.004ee1e0
add eax, 0xa
mov dword [esp + 0x48], eax
add esp, 0x10
mov byte [eax], bl
mov byte [esp + 0x154], 0x37
push esi
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x38
push 0xfffffc19
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0x48], eax
mov byte [esp + 0x154], 0x37
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0x4d7933
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d7933
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d7933
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x154], 0x29
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4d794c
push eax
call fcn.004ed9bb
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x154], 0x3c
push 0xb
call fcn.004ed9ad
push 0xa
mov dword [esp + 0x20], eax
lea ecx, [eax + 0xb]
push 0x570a24
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call fcn.004ee1e0
add eax, 0xa
mov dword [esp + 0x2c], eax
add esp, 0x10
mov byte [eax], bl
mov byte [esp + 0x154], 0x3d
push esi
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x3e
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0x4c], eax
mov byte [esp + 0x154], 0x3d
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x4d79fd
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d79fd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d79fd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0x154], 0x29
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4d7a16
push eax
call fcn.004ed9bb
add esp, 4
push esi
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x42
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x50]
push edx
push eax
call fcn.004d4eb0
mov byte [esp + 0x154], 0x29
mov eax, dword [esp + 0xb0]
cmp eax, ebx
je 0x4d7a7a
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7a7a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7a7a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x74]
je 0x4d7b56
mov dword [esp + 0xbc], eax
mov dword [esp + 0x98], eax
mov byte [esp + 0x154], 0x45
cmp eax, ebx
je 0x4d7b47
mov ecx, dword [esp + 0x40]
mov dl, byte [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov byte [eax + 4], dl
mov edx, dword [esp + 0x4c]
lea esi, [eax + 0x10]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x60], esi
mov dword [esi + 8], ebx
mov byte [esp + 0x154], 0x46
mov edi, dword [esp + 0x54]
sub edi, dword [esp + 0x50]
lea eax, [edi + 1]
cmp eax, 0xffffffff
ja 0x4d7d5a
cmp eax, ebx
jbe 0x4d7d5a
lea eax, [edi + 1]
push eax
call fcn.004ed9ad
mov edx, dword [esp + 0x54]
lea ecx, [edi + eax + 1]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x58]
add esp, 4
cmp ecx, edx
mov dword [esi], eax
mov dword [esi + 4], eax
je 0x4d7b27
push edi
mov ecx, edx
push ecx
push eax
call fcn.004ee1e0
add esp, 0xc
add eax, edi
mov dword [esi + 4], eax
mov byte [eax], bl
mov byte [esp + 0x154], 0x47
mov edx, dword [esp + 0x5c]
mov dword [esi + 0xc], edx
mov byte [esp + 0x154], 0x45
mov esi, dword [esp + 0x14]
mov byte [esp + 0x154], 0x29
add dword [esp + 0x70], 0x20
jmp 0x4d7b71
push 1
push 1
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x80]
call fcn.004d4b90
mov byte [esp + 0x154], 0x21
lea eax, [esp + 0x50]
mov dword [esp + 0x60], eax
mov byte [esp + 0x154], 0x21
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4d7b9a
push eax
call fcn.004ed9bb
add esp, 4
inc esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], esi
call fcn.00439360
cmp esi, eax
jl 0x4d7680
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4d7beb
mov dword [esp + 0x60], ecx
mov dword [esp + 0x98], ecx
mov byte [esp + 0x154], 0x4c
cmp ecx, ebx
je 0x4d7bdd
lea edx, [esp + 0x6c]
push edx
call fcn.004d3c30
mov byte [esp + 0x154], 0x21
add dword [esi + 4], 0xc
jmp 0x4d7c01
push 1
push 1
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x78]
push edx
push ecx
mov ecx, esi
call fcn.004d63a0
mov byte [esp + 0x154], 0xb
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x4d7c37
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7c37
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7c37
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov byte [esp + 0x154], 0x4f
lea eax, [esp + 0xd8]
mov dword [esp + 0x60], eax
mov byte [esp + 0x154], 0x4f
mov eax, dword [esp + 0xd8]
cmp eax, ebx
je 0x4d7c66
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x154], 7
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x4d7c82
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x154], 4
lea ecx, [esp + 0x6c]
call fcn.004d3a60
mov esi, dword [esp + 0x10]
inc esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], esi
call fcn.00439360
cmp esi, eax
jl 0x4d72d6
mov edi, dword [ebp + 8]
lea ecx, [esp + 0xf]
push ecx
push 0x570184
lea ecx, [esp + 0x80]
call fcn.00405170
mov byte [esp + 0x154], 0x54
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x88]
push eax
mov ecx, edi
call fcn.0043b7d0
mov byte [esp + 0x154], 0x56
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x4d7cfb
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00439390
test al, al
jne 0x4d7d64
push 0x4ed
push 0x570908
push 0x570c68
push 0x569444
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xec]
mov dword [esp + 0x18], 0x569430
call fcn.004edfb3
push 0x581188
lea edx, [esp + 0xec]
push edx
call fcn.004ee19f
push 0x569564
call fcn.004051f0
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], ebx
call fcn.00439360
test eax, eax
jle 0x4d8160
lea esp, [esp]
lea eax, [esp + 0xf]
push eax
push 0x570a34
lea ecx, [esp + 0x80]
call fcn.00405170
mov byte [esp + 0x154], 0x58
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x8c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x59
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.0043b7d0
mov byte [esp + 0x154], 0x5c
mov eax, dword [esp + 0xb0]
cmp eax, ebx
je 0x4d7e0b
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7e0b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d7e0b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov byte [esp + 0x154], 0x5b
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x4d7e24
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], ebx
call fcn.00439360
test eax, eax
jle 0x4d810d
lea eax, [esp + 0x50]
mov ecx, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x98], ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x154], 0x60
push 8
call fcn.004ed9ad
mov edi, eax
mov dword [esp + 0x54], edi
lea edx, [edi + 8]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
mov byte [edi], bl
mov byte [esp + 0x158], 0x63
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x158], 0x64
push 3
call fcn.004ed9ad
push 2
mov dword [esp + 0x24], eax
lea ecx, [eax + 3]
push 0x56a80c
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call fcn.004ee1e0
add eax, 2
mov dword [esp + 0x30], eax
add esp, 0x14
mov byte [eax], bl
mov byte [esp + 0x154], 0x65
push esi
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x66
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0x40], eax
mov byte [esp + 0x154], 0x65
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x4d7f3f
mov dword [esp + 0x30], eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d7f3f
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
add ecx, 8
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d7f3f
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [esp + 0x154], 0x63
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4d7f58
push eax
call fcn.004ed9bb
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x154], 0x6a
push 4
call fcn.004ed9ad
push 3
mov dword [esp + 0x3c], eax
lea ecx, [eax + 4]
push 0x570a30
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call fcn.004ee1e0
add eax, 3
mov dword [esp + 0x48], eax
add esp, 0x10
mov byte [eax], bl
mov byte [esp + 0x154], 0x6b
push esi
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043bdb0
mov byte [esp + 0x154], 0x6c
push ebx
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0043b7b0
mov byte [esp + 0x44], al
mov byte [esp + 0x154], 0x6b
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0x4d8009
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d8009
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4d8009
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [esp + 0x154], 0x63
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4d8022
push eax
call fcn.004ed9bb
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
add ecx, 0xc
cmp eax, edx
je 0x4d80ce
mov dword [esp + 0xbc], eax
mov dword [esp + 0x9c], eax
mov byte [esp + 0x154], 0x70
cmp eax, ebx
je 0x4d80b4
mov ecx, dword [esp + 0x40]
mov dl, byte [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov byte [eax + 4], dl
mov edx, dword [esp + 0x4c]
lea esi, [eax + 0x10]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x30], esi
mov dword [esi + 8], ebx
mov byte [esp + 0x154], 0x71
push 1
call fcn.004ed9ad
mov dword [esi + 4], eax
lea ecx, [eax + 1]
mov dword [esi], eax
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
add esp, 4
mov byte [eax], bl
mov byte [esp + 0x154], 0x72
mov edx, dword [esp + 0x5c]
mov dword [esi + 0xc], edx
mov byte [esp + 0x154], 0x70
mov byte [esp + 0x154], 0x63
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
add eax, 0xc
add ecx, 0x20
mov dword [eax + 4], ecx
jmp 0x4d80e2
push 1
push 1
lea edx, [esp + 0x17]
push edx
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.004d4b90
mov byte [esp + 0x154], 0x5b
push edi
call fcn.004ed9bb
mov esi, dword [esp + 0x14]
add esp, 4
inc esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], esi
call fcn.00439360
cmp esi, eax
jl 0x4d7e4a
mov byte [esp + 0x154], 0x56
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x4d8143
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d8143
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d8143
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov esi, dword [esp + 0x14]
inc esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], esi
call fcn.00439360
cmp esi, eax
jl 0x4d7d80
mov ecx, dword [esp + 0x2c]
call fcn.004d6520
mov byte [esp + 0x154], 4
mov esi, dword [esp + 0x88]
cmp esi, ebx
je 0x4d81a2
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d81a2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d81a2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov dword [esp + 0x154], 0xffffffff
mov esi, dword [esp + 0x68]
cmp esi, ebx
je 0x4d81db
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d81db
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d81db
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4