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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esi + 0x160]
cmp ecx, dword [esi + 0x90]
jne 0x4d82cb
lea eax, [esi + 0x11c]
lea edx, [esi + 0x120]
jmp 0x4d82d4
mov eax, dword [esi + 0x128]
lea edx, [eax + 4]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [eax], ebp
mov eax, dword [esp + 0x30]
mov byte [esp + 0x1c], 1
mov dword [edx], eax
test ebx, ebx
jg 0x4d8324
cmp byte [esp + 0x38], 0
je 0x4d8304
test ebx, ebx
jne 0x4d9811
lea eax, [ebx + 0xf]
cmp eax, 0xf
ja case.0x4d8313.14
movzx eax, byte [eax + 0x4d9a64]
jmp dword [eax*4 + 0x4d9a4c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
neg ebx
push ecx
push dword [esp + 0x34]
lea eax, [esi + 0xfc]
push ebp
push ebx
push eax
mov eax, dword [eax]
call eax
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x2c], ecx
lea eax, [ecx + 1]
cmp eax, 0x3d
ja case.default.0x4d834b
jmp dword [eax*4 + 0x4d9a74]
push dword [esp + 0x30]
push ebp
push 0
push esi
call fcn.004dd6c0
add esp, 0x10
test eax, eax
jne 0x4d9a43
mov ebx, dword [esi + 0x90]
mov dword [esp + 0x20], ebx
jmp 0x4d8429
cmp dword [esi + 0x54], 0
je 0x4d83d1
push dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea eax, [esi + 0x19c]
push ebp
push edx
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esi + 0x13c], eax
test eax, eax
je 0x4d98cf
mov eax, dword [esi + 0x1a8]
xor cl, cl
mov ebx, dword [esp + 0x20]
mov dword [esi + 0x1ac], eax
mov dword [esi + 0x144], 0
mov dword [esi + 0x140], 0
jmp 0x4d974e
mov cl, byte [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esi + 0x140], 0
jmp 0x4d974e
mov eax, dword [esi + 0x54]
test eax, eax
je case.default.0x4d834b
push 1
push dword [esi + 0x144]
push dword [esi + 0x140]
push dword [esi + 0x13c]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x13c], 0
push eax
call fcn.004dce80
add esp, 0x18
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
mov eax, dword [esi + 0x1dc]
sub eax, 2
je 0x4d9a3e
dec eax
je 0x4d9a2d
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x2c]
mov eax, dword [ebx]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x30]
mov ebx, eax
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [esp + 0x14]
jmp 0x4d82e4
push dword [esp + 0x30]
push ebp
push 1
jmp 0x4d8359
push 0x24
push 0x50a204
lea eax, [edi + 0x84]
mov byte [esi + 0x1e5], 0
push eax
push esi
call fcn.004db7e0
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x4d98cf
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je case.0x4d834b.14
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push ecx
push dword [esp + 0x34]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x4d98af
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
lea eax, [esi + 0x19c]
push ebx
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d98cf
push eax
call fcn.004dbca0
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x1ac], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x144], eax
mov byte [esp + 0x1c], 0
jmp 0x4d853f
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push ecx
push dword [esp + 0x34]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x4d98af
cmp byte [edi + 0x80], 0
je 0x4d974a
cmp dword [esi + 0x138], 0
je 0x4d974a
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
lea eax, [edi + 0x50]
push ebx
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
je 0x4d98cf
push eax
call fcn.004dbca0
mov eax, dword [esi + 0x138]
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x18], ecx
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x4d974a
cmp dword [esp + 0x2c], 0xe
je 0x4d8429
jmp 0x4d974a
cmp byte [esp + 0x3c], 1
jne 0x4d982b
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x4d85f9
push 0
push dword [esi + 0x144]
push dword [esi + 0x140]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x54]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.004dce80
add esp, 0x18
mov byte [esp + 0x1c], 0
cmp dword [esi + 0x140], 0
jne 0x4d860f
cmp byte [esi + 0x1e5], 0
je 0x4d86cc
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x4d86c5
cmp dword [esi + 0x70], 0
je 0x4d86c5
push 0x24
push 0x50a204
lea eax, [edi + 0x84]
push eax
push esi
call fcn.004db7e0
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x4d98cf
cmp byte [esi + 0x1e5], 0
je 0x4d8666
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x14], eax
mov byte [edi + 0x83], 0
push dword [ecx + 0x18]
mov eax, dword [esi + 0x70]
push dword [ecx + 0x10]
push dword [ecx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x4d98bc
cmp byte [edi + 0x83], 0
je 0x4d86b6
cmp byte [edi + 0x82], 0
jne 0x4d86c5
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4d86c5
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x4d99cc
jmp 0x4d86c5
cmp dword [esi + 0x140], 0
jne 0x4d86c5
mov byte [edi + 0x81], bl
mov byte [esi + 0x1e5], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4d9746
push dword [esi + 4]
call eax
add esp, 4
jmp 0x4d8425
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push ebp
push ebx
push esi
call fcn.004db080
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x4d98cf
jmp 0x4d87b0
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push ebp
push ebx
push esi
call fcn.004dab30
add esp, 0x10
mov dword [esi + 0x158], eax
test eax, eax
je 0x4d98cf
mov word [esi + 0x15c], 0
mov dword [esi + 0x148], 0
jmp 0x4d87b0
mov byte [esi + 0x15c], 1
mov dword [esi + 0x148], 0x50a208
jmp case.0x4d834b.33
mov byte [esi + 0x15d], 1
mov dword [esi + 0x148], 0x50a214
jmp case.0x4d834b.33
mov dword [esi + 0x148], 0x50a21c
jmp case.0x4d834b.33
mov dword [esi + 0x148], 0x50a228
jmp case.0x4d834b.33
mov dword [esi + 0x148], 0x50a238
jmp case.0x4d834b.33
mov dword [esi + 0x148], 0x50a248
jmp case.0x4d834b.33
mov dword [esi + 0x148], 0x50a25c
jmp case.0x4d834b.33
mov dword [esi + 0x148], 0x50a26c
mov ebx, dword [esp + 0x20]
cmp byte [edi + 0x80], 0
je 0x4d97f3
cmp dword [esi + 0x84], 0
je 0x4d97f3
jmp 0x4d8429
cmp byte [edi + 0x80], 0
je case.default.0x4d834b
cmp dword [esi + 0x84], 0
je case.default.0x4d834b
cmp dword [esi + 0x148], 0
je 0x4d87f9
mov eax, 0x50a294
jmp 0x4d8808
mov eax, str.NOTATION_
cmp ecx, 0x20
je 0x4d8808
mov eax, 0x50a2ec
lea ecx, [esi + 0x19c]
push eax
push ecx
call fcn.004dcc50
add esp, 8
test eax, eax
je 0x4d98cf
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
lea eax, [esi + 0x19c]
push ebp
push ebx
push eax
call fcn.004dca20
add esp, 0x10
test eax, eax
je 0x4d98cf
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x148], eax
jmp 0x4d8429
cmp byte [edi + 0x80], 0
je case.default.0x4d834b
movzx eax, byte [esi + 0x15d]
push esi
push 0
push eax
movzx eax, byte [esi + 0x15c]
push eax
push dword [esi + 0x158]
push dword [esi + 0x154]
call fcn.004d71f0
add esp, 0x18
test eax, eax
je 0x4d98cf
cmp dword [esi + 0x84], 0
je case.default.0x4d834b
mov eax, dword [esi + 0x148]
test eax, eax
je case.default.0x4d834b
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x4d88c5
cmp ecx, 0x4e
jne 0x4d894e
cmp word [eax + 2], 0x4f
jne 0x4d894e
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x4d88ea
lea eax, [esi + 0x19c]
push eax
call fcn.004dd340
add esp, 4
test al, al
je 0x4d98cf
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x4d8924
lea eax, [esi + 0x19c]
push eax
call fcn.004dd340
add esp, 4
test al, al
je 0x4d98cf
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1ac]
mov ecx, dword [esi + 0x1a8]
mov dword [esi + 0x148], eax
mov dword [esi + 0x1ac], ecx
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x2c], 0x24
sete al
push eax
mov dword [edx], ebp
mov eax, dword [esi + 0x158]
push 0
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.004dce80
add esp, 0x1c
jmp 0x4d8425
cmp byte [edi + 0x80], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
mov ecx, dword [ebx + 0x40]
lea eax, [edi + 0x50]
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
movzx eax, byte [esi + 0x15c]
push eax
push ebx
push esi
call fcn.004de5e0
add esp, 0x18
test eax, eax
jne 0x4d9a43
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x5c]
push esi
push ecx
mov dword [edi + 0x60], eax
movzx eax, byte [esi + 0x15c]
push 0
push eax
push dword [esi + 0x158]
mov dword [esp + 0x30], ecx
push dword [esi + 0x154]
call fcn.004d71f0
add esp, 0x18
test eax, eax
je 0x4d98cf
cmp dword [esi + 0x84], 0
je 0x4d97f3
mov eax, dword [esi + 0x148]
test eax, eax
je 0x4d97f3
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x4d8a3f
cmp ecx, 0x4e
jne 0x4d8ac8
cmp word [eax + 2], 0x4f
jne 0x4d8ac8
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x4d8a64
lea eax, [esi + 0x19c]
push eax
call fcn.004dd340
add esp, 4
test al, al
je 0x4d98cf
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x4d8a9e
lea eax, [esi + 0x19c]
push eax
call fcn.004dd340
add esp, 4
test al, al
je 0x4d98cf
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1ac]
mov ecx, dword [esi + 0x1a8]
mov dword [esi + 0x148], eax
mov dword [esi + 0x1ac], ecx
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x2c], 0x26
sete al
push eax
push dword [esp + 0x20]
mov dword [edx], ebp
mov eax, dword [esi + 0x158]
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.004dce80
add esp, 0x1c
jmp 0x4d8429
cmp byte [edi + 0x80], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push ebx
push esi
call fcn.004df0b0
mov ecx, dword [esi + 0x138]
mov edx, eax
mov eax, dword [edi + 0x78]
add esp, 0x10
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x4d8baf
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x74]
sub ecx, dword [edi + 0x78]
mov eax, dword [esi + 0x138]
sar ecx, 1
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
cmp dword [esi + 0x88], 0
je 0x4d8bb2
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
mov dword [edx], ebp
mov ecx, dword [esi + 0x138]
push dword [esi + 0x164]
push dword [ecx + 8]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 4]
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
mov edx, dword [esp + 0x50]
add esp, 0x24
mov byte [esp + 0x1c], 0
jmp 0x4d8bb2
mov dword [edi + 0x74], eax
test edx, edx
je 0x4d974a
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 8
ret
mov byte [esi + 0x1e5], 0
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je 0x4d8c1b
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
lea eax, [esi + 0x19c]
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esi + 0x140], eax
test eax, eax
je 0x4d98cf
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov byte [esp + 0x1c], 0
jmp 0x4d8c25
mov dword [esi + 0x140], 0x50a204
cmp byte [edi + 0x82], 0
jne 0x4d8c4e
cmp dword [esi + 0x1e8], 0
jne 0x4d8c4e
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4d8c4e
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x4d99cc
cmp dword [esi + 0x138], 0
jne case.0x4d834b.13
push 0x24
push 0x50a204
lea eax, [edi + 0x84]
push eax
push esi
call fcn.004db7e0
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x4d98cf
mov dword [eax + 0x18], 0
cmp byte [edi + 0x80], 0
mov ebx, dword [esp + 0x20]
je 0x4d974a
cmp dword [esi + 0x138], 0
je 0x4d974a
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
lea eax, [edi + 0x50]
push ebx
push eax
call fcn.004dd530
mov ecx, dword [esi + 0x138]
add esp, 0x10
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x138]
cmp dword [ecx + 0x10], 0
je 0x4d98cf
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x4d974a
cmp dword [esp + 0x2c], 0xd
je 0x4d8429
jmp 0x4d974a
cmp byte [edi + 0x80], 0
je case.default.0x4d834b
cmp dword [esi + 0x138], 0
je case.default.0x4d834b
cmp dword [esi + 0x88], 0
je case.default.0x4d834b
mov edx, dword [esp + 0x10]
push 0
mov dword [edx], ebp
mov ecx, dword [esi + 0x138]
push dword [ecx + 0x18]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 0x10]
push dword [ecx + 0x14]
push 0
push 0
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x4d8425
cmp byte [edi + 0x80], 0
je case.default.0x4d834b
cmp dword [esi + 0x138], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
push dword [esp + 0x30]
lea eax, [edi + 0x50]
push ebp
push ebx
push eax
call fcn.004dd530
mov ecx, dword [esi + 0x138]
add esp, 0x10
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x138]
cmp dword [eax + 0x1c], 0
je 0x4d98cf
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x5c], 0
je 0x4d8ddc
mov edx, dword [esp + 0x10]
mov dword [edx], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push dword [eax]
mov eax, dword [esi + 0x5c]
push dword [esi + 4]
call eax
add esp, 0x18
jmp 0x4d8429
cmp dword [esi + 0x88], 0
je 0x4d97f3
mov edx, dword [esp + 0x10]
mov dword [edx], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push 0
push 0
push 0
push dword [eax]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x4d8429
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push ebp
push ebx
mov eax, dword [ebx + 0x2c]
call eax
add esp, 0xc
test eax, eax
je 0x4d8e41
mov dword [esi + 0x138], 0
jmp 0x4d97f3
cmp byte [edi + 0x80], 0
je 0x4d8e8d
push dword [esp + 0x30]
lea eax, [edi + 0x50]
push ebp
push ebx
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d98cf
push 0x24
push eax
push edi
push esi
call fcn.004db7e0
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x138], ecx
test ecx, ecx
je 0x4d98cf
mov eax, dword [esp + 0x1c]
cmp dword [ecx], eax
je 0x4d8ea2
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [esi + 0x138], 0
jmp 0x4d97f3
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 0
cmp dword [esi + 0x1d8], 0
jne 0x4d8ed8
cmp dword [esi + 0x128], 0
jne 0x4d8ed8
mov ecx, 1
jmp 0x4d8eda
xor ecx, ecx
mov eax, dword [esi + 0x138]
mov byte [eax + 0x22], cl
cmp dword [esi + 0x88], 0
je 0x4d97f3
jmp 0x4d8429
cmp byte [edi + 0x80], 0
mov ebx, dword [esp + 0x20]
je 0x4d8e8d
push dword [esp + 0x30]
lea eax, [edi + 0x50]
push ebp
push ebx
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d98cf
push 0x24
push eax
lea eax, [edi + 0x84]
push eax
push esi
call fcn.004db7e0
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x138], ecx
test ecx, ecx
je 0x4d98cf
mov eax, dword [esp + 0x1c]
cmp dword [ecx], eax
jne 0x4d8e8d
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 1
cmp dword [esi + 0x1d8], 0
jne 0x4d8ed8
cmp dword [esi + 0x128], 0
jne 0x4d8ed8
mov ecx, 1
jmp 0x4d8eda
cmp dword [esi + 0x60], 0
mov ebx, dword [esp + 0x20]
mov dword [esi + 0x150], 0
mov dword [esi + 0x14c], 0
je 0x4d97f3
push dword [esp + 0x30]
lea eax, [esi + 0x19c]
push ebp
push ebx
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esi + 0x14c], eax
test eax, eax
je 0x4d98cf
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
jmp 0x4d8429
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push ecx
push dword [esp + 0x34]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x4d98af
cmp dword [esi + 0x14c], 0
je 0x4d97f3
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
lea eax, [esi + 0x19c]
push ebx
push eax
call fcn.004dd530
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4d98cf
push ebp
call fcn.004dbca0
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x150], ebp
mov dword [esi + 0x1ac], eax
jmp 0x4d8429
cmp dword [esi + 0x14c], 0
mov ebx, dword [esp + 0x20]
je 0x4d90bc
cmp dword [esi + 0x60], 0
je 0x4d90bc
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
lea eax, [esi + 0x19c]
push ebx
push eax
call fcn.004dd530
add esp, 0x10
test eax, eax
je 0x4d98cf
mov edx, dword [esp + 0x10]
mov dword [edx], ebp
push dword [esi + 0x150]
push eax
push dword [esi + 0x164]
mov eax, dword [esi + 0x60]
push dword [esi + 0x14c]
push dword [esi + 4]
call eax
add esp, 0x14
mov byte [esp + 0x1c], 0
lea eax, [esi + 0x19c]
push eax
call fcn.004dce80
add esp, 4
jmp 0x4d974a
cmp dword [esi + 0x150], 0
je 0x4d9109
cmp dword [esi + 0x60], 0
je 0x4d9109
mov edx, dword [esp + 0x10]
mov dword [edx], ebp
push dword [esi + 0x150]
mov eax, dword [esi + 0x60]
push 0
push dword [esi + 0x164]
push dword [esi + 0x14c]
push dword [esi + 4]
call eax
add esp, 0x14
mov byte [esp + 0x1c], 0
lea eax, [esi + 0x19c]
push eax
call fcn.004dce80
add esp, 4
jmp 0x4d9746
cmp dword [esi + 0x50], 0
mov ebx, dword [esp + 0x20]
je 0x4d9136
push dword [esp + 0x30]
push ebp
push ebx
push esi
call fcn.004dda80
add esp, 0x10
push dword [esp + 0x38]
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x34]
push ebp
push dword [esp + 0x30]
push eax
push ebx
push esi
call fcn.004d8150
add esp, 0x18
test eax, eax
jne 0x4d9a43
cmp dword [esp + 0x30], eax
jne 0x4d842d
pop edi
mov dword [esi + 0x114], 0x4db410
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0x1d0]
cmp dword [esi + 0x100], eax
jb 0x4d91fc
test eax, eax
je 0x4d91da
add eax, eax
push eax
push dword [esi + 0x1cc]
mov dword [esi + 0x1d0], eax
mov eax, dword [esi + 0x10]
call eax
add esp, 8
test eax, eax
je 0x4d98c9
mov dword [esi + 0x1cc], eax
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x4d91fc
mov eax, dword [esi + 0x1d0]
shl eax, 2
push eax
mov eax, dword [esi + 0x10]
push ecx
call eax
add esp, 8
test eax, eax
je 0x4d98cf
mov dword [edi + 0xb8], eax
jmp 0x4d91fc
mov eax, dword [esi + 0xc]
push 0x20
mov dword [esi + 0x1d0], 0x20
call eax
add esp, 4
mov dword [esi + 0x1cc], eax
test eax, eax
je 0x4d98dc
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov byte [ecx + eax], 0
cmp byte [edi + 0xa0], 0
je case.default.0x4d834b
push esi
call fcn.004dbb10
mov edx, eax
add esp, 4
test edx, edx
js 0x4d98cf
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], edx
lea ecx, [edx*8]
mov eax, dword [edi + 0xa4]
sub ecx, edx
inc dword [edi + 0xb4]
mov dword [eax + ecx*4], 6
cmp dword [esi + 0x80], 0
je 0x4d97f3
jmp 0x4d8429
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
cmp byte [ecx + eax], 0x7c
je 0x4d98f3
mov ebx, dword [esp + 0x20]
mov byte [ecx + eax], 0x2c
cmp byte [edi + 0xa0], 0
je 0x4d97f3
cmp dword [esi + 0x80], 0
je 0x4d97f3
jmp 0x4d8429
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov al, byte [ecx + eax]
cmp al, 0x2c
je 0x4d98f3
cmp byte [edi + 0xa0], 0
je 0x4d930a
test al, al
jne 0x4d930a
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
cmp dword [eax + ecx*4], 3
je 0x4d930a
mov dword [eax + ecx*4], 5
cmp dword [esi + 0x80], 0
setne al
dec al
and byte [esp + 0x1c], al
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov byte [ecx + eax], 0x7c
jmp 0x4d9746
mov ebx, dword [esp + 0x20]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
jne 0x4d936c
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
cmp byte [edi + 0x82], 0
jne 0x4d974a
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4d974a
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x4d99cc
jmp 0x4d974a
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
lea eax, [edi + 0x50]
push ebx
push eax
call fcn.004dd530
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
je 0x4d98cf
push 0
push eax
lea eax, [edi + 0x84]
push eax
push esi
call fcn.004db7e0
mov ecx, eax
add esp, 0x10
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
cmp dword [esi + 0x10c], 0
mov dword [esp + 0x1c], ecx
je 0x4d941f
xor eax, eax
cmp byte [edi + 0x82], al
je 0x4d93cd
cmp dword [esi + 0x128], eax
jmp 0x4d93d3
cmp byte [edi + 0x81], al
sete al
test eax, eax
je 0x4d941f
test ecx, ecx
je 0x4d990d
cmp byte [ecx + 0x22], 0
je 0x4d9900
cmp byte [ecx + 0x20], 0
jne 0x4d991a
cmp dword [ecx + 4], 0
je 0x4d9458
cmp dword [esp + 0x2c], 0x3c
sete al
movzx eax, al
push eax
push ecx
push esi
call fcn.004dd580
add esp, 0xc
test eax, eax
jne 0x4d9a43
jmp 0x4d8429
test ecx, ecx
jne 0x4d93ec
cmp dword [esp + 0x2c], 0x3c
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
jne 0x4d97f3
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4d97f3
push 1
push dword [esp + 0x28]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4d8429
cmp dword [esi + 0x70], 0
je 0x4d94b2
mov byte [edi + 0x83], 0
push dword [ecx + 0x18]
mov byte [ecx + 0x20], 1
push dword [ecx + 0x10]
mov eax, dword [esi + 0x70]
push dword [ecx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x20], 0
je 0x4d98bc
cmp byte [edi + 0x83], 0
mov byte [esp + 0x1c], 0
jne 0x4d933f
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
jmp 0x4d8429
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
jmp 0x4d97f3
cmp dword [esi + 0x80], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
push dword [esp + 0x30]
push ebp
push ebx
push esi
call fcn.004db080
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x4d98cf
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb0], 0
mov byte [edi + 0xa0], 1
jmp 0x4d8429
cmp byte [edi + 0xa0], 0
je case.default.0x4d834b
cmp dword [esi + 0x80], 0
je 0x4d973f
mov eax, dword [esi + 0xc]
push 0x14
call eax
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4d98cf
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x2c], 0x29
mov dword [ecx + 4], 0
sete al
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
inc eax
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov dword [edx], ebp
mov eax, dword [esi + 0x154]
push ecx
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
add esp, 0xc
mov byte [esp + 0x1c], 0
jmp 0x4d973f
cmp byte [edi + 0xa0], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ecx*4], 3
cmp dword [esi + 0x80], 0
je 0x4d97f3
jmp 0x4d8429
xor eax, eax
jmp 0x4d95ef
mov eax, 1
jmp 0x4d95ef
mov eax, 2
jmp 0x4d95ef
mov eax, 3
cmp byte [edi + 0xa0], 0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
je 0x4d97f3
test eax, eax
mov eax, dword [esp + 0x30]
je 0x4d960f
sub eax, dword [ebx + 0x40]
push esi
mov dword [esp + 0x30], eax
call fcn.004dbb10
add esp, 4
test eax, eax
js 0x4d98cf
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edi + 0xa4]
shl edx, 2
push ebp
push ebx
push esi
mov dword [edx + eax], 4
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x34], edx
mov dword [edx + eax + 4], ecx
call fcn.004db080
add esp, 0x10
test eax, eax
je 0x4d98cf
mov edx, dword [eax]
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0xa4]
mov dword [ecx + eax + 8], edx
xor ecx, ecx
mov ax, word [edx + ecx*2]
inc ecx
test ax, ax
jne 0x4d9678
add dword [edi + 0xa8], ecx
cmp dword [esi + 0x80], 0
je 0x4d97f3
jmp 0x4d8429
xor edx, edx
jmp 0x4d96b1
mov edx, 1
jmp 0x4d96b1
mov edx, 2
jmp 0x4d96b1
mov edx, 3
cmp byte [edi + 0xa0], 0
je case.default.0x4d834b
cmp dword [esi + 0x80], 0
mov eax, dword [edi + 0xb8]
setne bl
dec dword [edi + 0xb4]
mov ecx, dword [edi + 0xb4]
dec bl
and bl, byte [esp + 0x1c]
mov byte [esp + 0x1c], bl
mov eax, dword [eax + ecx*4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ecx*4 + 4], edx
cmp dword [edi + 0xb4], 0
jne 0x4d9746
test bl, bl
jne 0x4d9735
push esi
call fcn.004d6d80
add esp, 4
test eax, eax
je 0x4d98cf
mov edx, dword [esp + 0x10]
push eax
mov dword [edx], ebp
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
add esp, 0xc
mov dword [edi + 0xa8], 0
mov byte [edi + 0xa0], 0
mov ebx, dword [esp + 0x20]
mov cl, byte [esp + 0x1c]
test cl, cl
je 0x4d8429
jmp 0x4d97f3
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push ebp
push ebx
push esi
call fcn.004ddb40
add esp, 0x10
test eax, eax
je 0x4d98cf
jmp 0x4d8429
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push ebp
push ebx
push esi
call fcn.004dd9d0
add esp, 0x10
test eax, eax
je 0x4d98cf
jmp 0x4d8429
cmp ebx, 0xe
mov ebx, dword [esp + 0x20]
jne 0x4d97f3
jmp 0x4d8429
cmp dword [esi + 0x54], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
jmp 0x4d8429
cmp byte [edi + 0x80], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
cmp dword [esi + 0x88], 0
je 0x4d97f3
jmp 0x4d8429
cmp dword [esi + 0x60], 0
mov ebx, dword [esp + 0x20]
je 0x4d97f3
jmp 0x4d8429
cmp dword [esi + 0x80], 0
jne 0x4d8425
mov ebx, dword [esp + 0x20]
cmp dword [esi + 0x50], 0
je 0x4d8429
push dword [esp + 0x30]
push ebp
push ebx
push esi
call fcn.004dda80
add esp, 0x10
jmp 0x4d8429
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov dword [eax], ebp
xor eax, eax
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 8
ret
mov edx, dword [esi + 0x90]
cmp ecx, edx
je 0x4d9868
mov eax, dword [esi + 0x128]
cmp byte [eax + 0x14], 0
je 0x4d9811
cmp byte [esi + 0x1e4], 0
jne 0x4d9882
cmp ecx, edx
jne 0x4d9882
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 8
ret
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0xfc]
push ecx
push ecx
push 0xfffffffffffffffc
push eax
mov eax, dword [eax]
call eax
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4d9811
pop edi
pop esi
pop ebp
mov eax, 0x1d
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 8
ret
shr dword [esi + 0x1d0], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
mov dword [esi + 0x1d0], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 8
ret
cmp byte [esi + 0x1e5], 0
je 0x4d99df
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x4d99df
cmp dword [esi + 0x70], 0
je 0x4d99df
push 0x24
push 0x50a204
lea eax, [edi + 0x84]
push eax
push esi
call fcn.004db7e0
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x4d98cf
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x14], eax
mov byte [edi + 0x83], 0
push dword [ecx + 0x18]
mov eax, dword [esi + 0x70]
push dword [ecx + 0x10]
push dword [ecx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x4d98bc
cmp byte [edi + 0x83], 0
je 0x4d99d9
cmp byte [edi + 0x82], 0
jne 0x4d99df
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4d99df
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
jne 0x4d99df
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 8
ret
mov byte [edi + 0x81], bl
mov eax, dword [esp + 0x34]
push eax
push dword [esp + 0x2c]
mov dword [esi + 0x114], fcn.004d6fc0
push ebp
push esi
call fcn.004d6fc0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp ebx, 0xc
je 0x4d9a20
xor eax, eax
cmp ebx, 0x1c
pop edi
sete al
pop esi
pop ebp
pop ebx
lea eax, [eax*8 + 2]
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x30]
pop edi
pop esi
mov dword [ebp], eax
xor eax, eax
pop ebp
pop ebx
add esp, 8
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret