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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x39], 0
xor eax, eax
mov word [ebp - 0x10c], ax
mov ecx, 0xcccc
mov word [ebp - 0xe0], cx
mov edx, 0xcccc
mov word [ebp - 0xde], dx
mov eax, 0xcccc
mov word [ebp - 0xdc], ax
mov ecx, 0x3333
mov word [ebp - 0x34], cx
mov edx, 0x3333
mov word [ebp - 0x32], dx
mov eax, 0x6666
mov word [ebp - 0x30], ax
xor ecx, ecx
mov word [ebp - 0x28], cx
xor edx, edx
mov word [ebp - 0x26], dx
xor eax, eax
mov word [ebp - 0x24], ax
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov word [ebp - 0x10], cx
xor edx, edx
mov word [ebp - 4], dx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [0x600be8]
push eax
call fcn.00531b90
add esp, 0x10
push 0x736f756e
push 0x73636469
call fcn.005319f0
add esp, 8
mov dword [ebp - 0x38], eax
mov byte [ebp - 0xe5], 1
lea ecx, [ebp - 0xe5]
push ecx
push 0x63766272
mov edx, dword [ebp - 0x38]
push edx
call fcn.00531a80
add esp, 0xc
lea eax, [ebp - 0xe5]
push eax
push 0x72636f6b
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00531a80
add esp, 0xc
push 0x12c
call fcn.005309e0
add esp, 4
mov dword [0x5fd184], eax
mov edx, dword [0x5fd184]
push edx
call fcn.00530a20
add esp, 4
mov eax, dword [0x5fd184]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [edx], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xc], 0x11f
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x10], 0x7365616e
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x14], 1
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x18], 1
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x20], 0x10b
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x24], 0x736f756e
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x28], 1
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x2c], 6
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x34], 0x18
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x38], 0x73736374
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x3c], 1
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x48], 0x6d703461
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x4c], 0x18
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x50], 0x73737274
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x54], 1
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x60], 0x56220000
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x64], 0x16
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x68], 0x73737373
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x6c], 1
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x78], 0x100000
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x7c], 0x167373
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x80], 0x63630000
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x84], 0x10000
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x88], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x8c], 1
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x90], 0x7f
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x94], 0x63646563
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x98], 1
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x9c], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xa0], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xa4], 0xc
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xa8], 0x66726d61
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xac], 0x6d703461
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xb0], 0xc
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xb4], 0x6d703461
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xb8], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xbc], 0x33
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xc0], 0x65736473
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xc4], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xc8], 0x3808080
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xcc], 0x22000000
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xd0], 0x4808080
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xd4], 0x14401500
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xd8], 0x18000000
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xdc], 0xbb800000
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xe0], 0xbb800580
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xe4], 0x80800213
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xe8], 0x88068080
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xec], 0x80010200
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xf0], 0xc73
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xf4], 0x72637100
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xf8], 0x4000
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xfc], 0xc61
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x100], 0x63626600
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x104], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x108], 0x800
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x10c], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x110], 0x1c76
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x114], 0x65727300
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x118], 0x100
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x11c], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x120], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x124], 0x3001300
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x128], 0
mov edx, dword [0x5fd184]
push edx
call fcn.00530a40
add esp, 4
mov eax, dword [0x5fd184]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00531ad0
add esp, 8
mov edx, dword [0x5fd184]
push edx
call fcn.00530aa0
add esp, 4
mov dword [0x5fd184], 0
lea eax, [ebp - 0xd0]
push eax
push 0x73736374
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00531a30
add esp, 0xc
cmp dword [ebp - 0xd0], 0x72617720
jne 0x4aa03a
mov dword [ebp - 0xd0], 0x4e4f4e45
lea edx, [ebp - 0xcc]
push edx
push 0x73736363
mov eax, dword [ebp - 0x38]
push eax
call fcn.00531a30
add esp, 0xc
lea ecx, [ebp - 0xca]
push ecx
push 0x73737373
mov edx, dword [ebp - 0x38]
push edx
call fcn.00531a30
add esp, 0xc
lea eax, [ebp - 0xc8]
push eax
push 0x73736972
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00531a30
add esp, 0xc
cmp dword [ebp - 0xc8], 0
jne 0x4aa0a3
lea edx, [ebp - 0xc8]
push edx
push 0x73737274
mov eax, dword [ebp - 0x38]
push eax
call fcn.00531a30
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
push 0x63646563
mov edx, dword [ebp - 0x38]
push edx
call fcn.00531a30
add esp, 0xc
mov dword [ebp - 0xd4], 0x80
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x38]
push eax
call fcn.005319d0
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.005317e0
add esp, 0xc
mov word [ebp - 0x10c], ax
mov cx, word [ebp - 0x10c]
mov word [ebp - 0x10c], cx
movsx edx, word [ebp - 0x10c]
test edx, edx
je 0x4aa12b
jmp 0x4aa870
lea eax, [ebp - 0xe5]
push eax
push 0x63766272
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005318a0
add esp, 0xc
lea edx, [ebp - 0xc8]
push edx
push 0x63707274
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005318a0
add esp, 0xc
lea ecx, [ebp - 0xcc]
push ecx
push 0x63706374
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005318a0
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
call fcn.00530a20
add esp, 4
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
push edx
push 0x65766177
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005318a0
add esp, 0xc
mov word [ebp - 0x10c], ax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00530a40
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4aa1c4
mov edx, dword [ebp - 0x20]
push edx
push 0x77617665
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005318a0
add esp, 0xc
push 0x572148
push 0x636f7274
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00531880
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00531840
add esp, 4
mov word [ebp - 0x10c], ax
mov ax, word [ebp - 0x10c]
mov word [ebp - 0x10c], ax
movsx ecx, word [ebp - 0x10c]
test ecx, ecx
je 0x4aa20b
jmp 0x4aa870
mov dword [ebp - 0x120], 0x14
mov dword [ebp - 0x11c], 0
push 0x34
call fcn.005309e0
add esp, 4
mov dword [ebp - 0x108], eax
call fcn.005309a0
mov word [ebp - 0x10c], ax
movsx edx, word [ebp - 0x10c]
test edx, edx
je 0x4aa24b
jmp 0x4aa870
lea eax, [ebp - 0x120]
push eax
push 0x636d6661
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00531880
add esp, 0xc
mov word [ebp - 0x10c], ax
mov dx, word [ebp - 0x10c]
mov word [ebp - 0x10c], dx
movsx eax, word [ebp - 0x10c]
test eax, eax
je 0x4aa288
jmp 0x4aa870
mov ecx, dword [ebp - 0x108]
push ecx
call fcn.00530a20
add esp, 4
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
mov dword [eax], 0x34
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd0]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
xor edx, edx
mov word [ecx + 0xc], dx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
xor edx, edx
mov word [ecx + 0xe], dx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
mov edx, 1
mov word [ecx + 0x10], dx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
xor edx, edx
mov word [ecx + 0x12], dx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
mov cx, word [ebp - 0xcc]
mov word [eax + 0x18], cx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
mov cx, word [ebp - 0xca]
mov word [eax + 0x1a], cx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
mov cx, word [ebp - 0x118]
mov word [eax + 0x1c], cx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
xor ecx, ecx
mov word [eax + 0x1e], cx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
mov ecx, dword [0x572148]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
movzx ecx, word [ebp - 0x116]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
movzx ecx, word [ebp - 0x114]
mov dword [eax + 0x28], ecx
movzx edx, word [ebp - 0x114]
movsx eax, word [ebp - 0xcc]
imul edx, eax
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
movzx eax, word [ebp - 0x110]
mov dword [edx + 0x30], eax
cmp dword [ebp - 0x40], 0
je 0x4aa41a
mov ecx, dword [ebp - 0x108]
push ecx
call fcn.00530a40
add esp, 4
push 0x77617665
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x108]
push eax
call fcn.005308c0
add esp, 0xc
mov word [ebp - 0x10c], ax
mov cx, word [ebp - 0x10c]
mov word [ebp - 0x10c], cx
movsx edx, word [ebp - 0x10c]
test edx, edx
je 0x4aa40b
jmp 0x4aa870
mov eax, dword [ebp - 0x108]
push eax
call fcn.00530a20
add esp, 4
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
movsx eax, word [edx + 0x1c]
cmp eax, 0xfffffffe
sete cl
mov byte [ebp - 0x4d], cl
mov edx, dword [ebp - 0xf8]
shr edx, 0x10
add edx, 0x3e8
movsx eax, word [ebp - 0xfc]
imul edx, eax
shl edx, 2
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x636d7870
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00531880
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
push 0
mov ecx, dword [0x54d1c0]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00531820
add esp, 0x14
cmp dword [ebp - 0x1c], 0
jne 0x4aa49a
mov eax, dword [0x54d1c0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [0x54d1c0]
jae 0x4aa4ae
mov edx, dword [0x54d1c0]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jae 0x4aa4bc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00530a00
add esp, 4
mov dword [ebp - 0x124], eax
call fcn.005309a0
mov word [ebp - 0x10c], ax
movsx eax, word [ebp - 0x10c]
test eax, eax
je 0x4aa4ea
jmp 0x4aa870
mov ecx, dword [0x600be8]
push ecx
call fcn.00530a20
add esp, 4
mov edx, dword [0x600be8]
mov eax, dword [edx]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0xe4]
shl ecx, 2
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0x60], 1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x64], edx
mov byte [ebp - 0x5f], 0
mov eax, dword [ebp - 0x64]
push eax
call fcn.005309c0
add esp, 4
mov dword [ebp - 0x74], eax
call fcn.005309a0
mov word [ebp - 0x10c], ax
movsx ecx, word [ebp - 0x10c]
test ecx, ecx
je 0x4aa550
jmp 0x4aa870
mov edx, dword [ebp - 0x74]
push edx
call fcn.00530a60
add esp, 4
mov ecx, 7
lea esi, [ebp - 0x104]
lea edi, [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xb8], 0x4000
mov dword [ebp - 0x9c], 0x44
mov dword [ebp - 0x98], 2
movzx edx, byte [ebp - 0x5f]
test edx, edx
je 0x4aa5af
mov eax, dword [ebp - 0x98]
or eax, 8
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0
movsx ecx, word [ebp - 0x10c]
test ecx, ecx
jne 0x4aa7c2
mov dword [ebp - 0x12c], 0x4aa900
movzx edx, byte [ebp - 0x39]
test edx, edx
jne 0x4aa6e2
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005318c0
add esp, 0x20
mov word [ebp - 0x10c], ax
movsx edx, word [ebp - 0x10c]
test edx, edx
je 0x4aa62f
jmp 0x4aa6e2
mov eax, dword [ebp - 0x138]
and eax, 2
jne 0x4aa63e
mov byte [ebp - 0x39], 1
cmp dword [ebp - 0x130], 0
jbe 0x4aa6dd
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x4aa66e
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x134], edx
movzx eax, word [ebp - 0x116]
mov dword [ebp - 0x13c], eax
jmp 0x4aa68c
movzx ecx, word [ebp - 0x116]
imul ecx, dword [ebp - 0x128]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x13c], 1
lea edx, [ebp - 0xd8]
push edx
push 0
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x130]
push eax
push 0
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [0x5fd194]
push edx
call fcn.00530640
add esp, 0x24
mov word [ebp - 0x10c], ax
movsx eax, word [ebp - 0x10c]
test eax, eax
je 0x4aa6dd
jmp 0x4aa6e2
jmp 0x4aa5d2
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00531860
add esp, 0x10
movsx edx, word [ebp - 0x10c]
test edx, edx
jne 0x4aa7c2
cmp dword [ebp - 0x130], 0
jbe 0x4aa7c2
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x4aa742
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x134], ecx
movzx edx, word [ebp - 0x116]
mov dword [ebp - 0x13c], edx
jmp 0x4aa760
movzx eax, word [ebp - 0x116]
imul eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], 1
lea ecx, [ebp - 0xd8]
push ecx
push 0
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
push 0
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [0x5fd194]
push ecx
call fcn.00530640
add esp, 0x24
mov word [ebp - 0x10c], ax
mov dx, word [ebp - 0x10c]
mov word [ebp - 0x10c], dx
movsx eax, word [ebp - 0x10c]
test eax, eax
je 0x4aa7c2
jmp 0x4aa870
mov ecx, dword [0x600be8]
push ecx
call fcn.00530a40
add esp, 4
push 0xf0
push 0x140
push 0
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.005313e0
add esp, 0x14
push 2
push 2
lea eax, [ebp - 0x18]
push eax
call fcn.00531420
add esp, 0xc
mov ecx, dword [ebp - 0xd8]
sub ecx, dword [0x5fd1a4]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0xd8]
mov dword [0x5fd1a4], edx
push 0
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28]
push ecx
movzx edx, word [ebp - 4]
push edx
movzx eax, word [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0xe0]
push edx
push 0
push 0x16
push 0x17
mov eax, dword [ebp + 8]
push eax
call fcn.00532e80
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x5fd19c]
push edx
call fcn.005318e0
add esp, 0x44
mov word [ebp - 0x10c], ax
cmp dword [ebp - 0x2c], 0
je 0x4aa882
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00531800
add esp, 4
cmp dword [ebp - 0x74], 0
je 0x4aa894
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00530aa0
add esp, 4
cmp dword [ebp - 0x124], 0
je 0x4aa8ac
mov edx, dword [ebp - 0x124]
push edx
call fcn.00530a80
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x4aa8be
mov eax, dword [ebp - 0x40]
push eax
call fcn.00530aa0
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4aa8d0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00530a80
add esp, 4
cmp dword [ebp - 0x108], 0
je 0x4aa8e8
mov edx, dword [ebp - 0x108]
push edx
call fcn.00530aa0
add esp, 4
mov ax, word [ebp - 0x10c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret